Commits

Thomas Weinert committed e33f1ff

Fixed type definitions, fixed member variable name

Comments (0)

Files changed (2)

  */
 
 class Client {
+
+  /**
+   * @var Carica\Io\Stream
+   */
   public $connection = NULL;
-  public $nick = NULL;
+  /**
+   * @var string
+   */
+  public $name = NULL;
 }
 
 function broadcast($clients, $data) {

src/Carica/Io/Loader.php

     public static function load($class) {
       if ($file = self::getFilename($class)) {
         if (file_exists($file) && is_readable($file)) {
+          /** @noinspection PhpIncludeInspection */
           include_once($file);
           return TRUE;
         }