Skip to content

Commit c17d577

Browse files
committed
format
1 parent 961710e commit c17d577

File tree

6 files changed

+5
-11
lines changed

6 files changed

+5
-11
lines changed

app/Events/WebSocket.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
* @document https://doc.simps.io
99
* @license https://github.com/simple-swoole/simps/blob/master/LICENSE
1010
*/
11-
1211
namespace App\Events;
1312

1413
use Swoole\WebSocket\Server;
@@ -29,4 +28,4 @@ public static function onMessage(Server $server, $frame)
2928
public static function onClose(Server $server, $fd)
3029
{
3130
}
32-
}
31+
}

app/Listens/Pool.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
* @document https://doc.simps.io
99
* @license https://github.com/simple-swoole/simps/blob/master/LICENSE
1010
*/
11-
1211
namespace App\Listens;
1312

1413
use Simps\DB\PDO;

app/Model/Model.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
* @document https://doc.simps.io
99
* @license https://github.com/simple-swoole/simps/blob/master/LICENSE
1010
*/
11-
1211
namespace App\Model;
1312

1413
use Simps\DB\BaseModel;
@@ -17,6 +16,5 @@ class Model extends BaseModel
1716
{
1817
public function index()
1918
{
20-
2119
}
2220
}

bin/simps.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
error_reporting(E_ALL);
88

9-
!defined('BASE_PATH') && define('BASE_PATH', dirname(__DIR__, 1));
10-
!defined('SWOOLE_HOOK_FLAGS') && define('SWOOLE_HOOK_FLAGS', SWOOLE_HOOK_ALL);
11-
!defined('CONFIG_PATH') && define('CONFIG_PATH', dirname(__DIR__) . '/config/');
9+
! defined('BASE_PATH') && define('BASE_PATH', dirname(__DIR__, 1));
10+
! defined('SWOOLE_HOOK_FLAGS') && define('SWOOLE_HOOK_FLAGS', SWOOLE_HOOK_ALL);
11+
! defined('CONFIG_PATH') && define('CONFIG_PATH', dirname(__DIR__) . '/config/');
1212

1313
require BASE_PATH . '/vendor/autoload.php';
1414

config/listeners.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
* @document https://doc.simps.io
99
* @license https://github.com/simple-swoole/simps/blob/master/LICENSE
1010
*/
11-
1211
return [
1312
//Server::onStart
1413
'start' => [

config/redis.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,11 @@
88
* @document https://doc.simps.io
99
* @license https://github.com/simple-swoole/simps/blob/master/LICENSE
1010
*/
11-
1211
return [
1312
'host' => 'localhost',
1413
'port' => 6379,
1514
'auth' => '',
1615
'db_index' => 0,
1716
'time_out' => 1,
1817
'size' => 64,
19-
];
18+
];

0 commit comments

Comments
 (0)