mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-04 02:14:06 +02:00
stricter cs
This commit is contained in:
parent
309ae17036
commit
d9a843ecd6
54 changed files with 346 additions and 168 deletions
|
|
@ -1,10 +1,14 @@
|
|||
<?php namespace Demostf\API\Demo;
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Demostf\API\Demo;
|
||||
|
||||
class ChatMessage {
|
||||
/** @var string */
|
||||
private $user;
|
||||
|
||||
/** @var integer */
|
||||
/** @var int */
|
||||
private $time;
|
||||
|
||||
/** @var string */
|
||||
|
|
@ -14,7 +18,7 @@ class ChatMessage {
|
|||
* ChatMessage constructor.
|
||||
*
|
||||
* @param string $user
|
||||
* @param int $time
|
||||
* @param int $time
|
||||
* @param string $message
|
||||
*/
|
||||
public function __construct(string $user, int $time, string $message) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue