diff --git a/functions/app.php b/functions/app.php index 2680f25..58b1b67 100644 --- a/functions/app.php +++ b/functions/app.php @@ -7,6 +7,5 @@ use Bx\Nullable\App\App; * @throws null */ function nullableApp() { - $app = App::getInstance('bx.nullable'); - return $app; + return App::getInstance('bx.nullable'); } \ No newline at end of file diff --git a/lib/AbstractFactory/MainAbstractFactory.php b/lib/AbstractFactory/MainAbstractFactory.php index 5fe7636..67bd506 100644 --- a/lib/AbstractFactory/MainAbstractFactory.php +++ b/lib/AbstractFactory/MainAbstractFactory.php @@ -1,9 +1,7 @@