File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 88 require_once $ vendor ;
99}
1010
11- use Silex \Application ;
12-
1311class Main
1412{
1513 private $ config = [];
@@ -21,12 +19,12 @@ private function __construct(array $config)
2119 }
2220 }
2321
24- public static function run (Application $ app = null , array $ config = [])
22+ public static function run (\ Silex \ Application $ app = null , array $ config = [])
2523 {
2624 $ nonExistentApp = is_null ($ app );
2725
2826 if ($ nonExistentApp ) {
29- $ app = new \ Statflo \ HTTP \ Application ();
27+ $ app = new Application ();
3028 $ app ['debug ' ] = $ config ['debug ' ];
3129 }
3230
@@ -39,7 +37,7 @@ public static function run(Application $app = null, array $config = [])
3937 }
4038 }
4139
42- public function start (Application $ app )
40+ public function start (\ Silex \ Application $ app )
4341 {
4442 $ config = $ this ->config ;
4543 $ routes = $ this ->config ['controllers ' ];
You can’t perform that action at this time.
0 commit comments