Skip to content

Commit b2aa3e9

Browse files
committed
Update App.php
1 parent 741dcdc commit b2aa3e9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/App.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function onMessage(ConnectionInterface &$connection, mixed $request): voi
9090
static::send($connection, $callback($request, 422), $request);
9191
return;
9292
}
93-
93+
9494
if (static::findFile($connection, $path, $key, $request)) {
9595
return;
9696
}
@@ -346,11 +346,11 @@ protected static function findRoute(TcpConnection $tcpConnection, string $path,
346346
if ($args) {
347347
$route->setParams($args);
348348
}
349-
349+
350350
foreach ($route->getMiddleware() as $className) {
351351
$middlewares[] = [$className, 'process'];
352352
}
353-
353+
354354
if (is_array($callback)) {
355355
$controller = $callback[0];
356356
$plugin = Plugin::app_by_class($controller);
@@ -359,7 +359,7 @@ protected static function findRoute(TcpConnection $tcpConnection, string $path,
359359
} else {
360360
$plugin = Plugin::app_by_path($path);
361361
}
362-
362+
363363
$callback = static::getCallback($plugin, $app, $callback, $args, true, $middlewares);
364364
static::collectCallbacks($key, [$callback, $plugin, $app, $controller ?: '', $action, $route]);
365365
return static::getCallbacks($key, $request);

0 commit comments

Comments
 (0)