From 7292464d1c00a5ba6da0da9090b7ec93ceb5e11f Mon Sep 17 00:00:00 2001 From: fadrian06 Date: Wed, 12 Mar 2025 19:50:01 -0400 Subject: [PATCH] Flight::path($path) -> ($dir) to match Engine::path($dir) --- flight/Flight.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/flight/Flight.php b/flight/Flight.php index 064bd16..c9c4e7e 100644 --- a/flight/Flight.php +++ b/flight/Flight.php @@ -20,7 +20,7 @@ require_once __DIR__ . '/autoload.php'; * * # Core methods * @method static void start() Starts the framework. - * @method static void path(string $path) Adds a path for autoloading classes. + * @method static void path(string $dir) Adds a path for autoloading classes. * @method static void stop(?int $code = null) Stops the framework and sends a response. * @method static void halt(int $code = 200, string $message = '', bool $actuallyExit = true) * Stop the framework with an optional status code and message. @@ -104,6 +104,7 @@ class Flight */ private function __construct() { + // } /** @@ -114,6 +115,7 @@ class Flight */ private function __clone() { + // } /**