xy 3 weeks ago
parent
commit
36af08da85
2 changed files with 7 additions and 2 deletions
  1. 6 1
      composer.json
  2. 1 1
      src/client.php

+ 6 - 1
composer.json

@@ -1,5 +1,10 @@
 {
     "require": {
         "textalk/websocket": "^1.6"
+    },
+    "autoload": {
+        "psr-4": {
+            "App\\": "src/"
+        }
     }
-}
+}

+ 1 - 1
src/client.php

@@ -1,6 +1,6 @@
 <?php
 require __DIR__.'/../generated/vendor/autoload.php';
-require_once __DIR__ . '/../vendor/autoload.php'; 
+require_once __DIR__ . '/../vendor/autoload.php';
 
 use App\BinaryWebSocketClient;
 use Common_pack\EnterHall;