Completed
Branch v1.0.0 (5a544a)
by Alexander
06:20
created
src/core/Service/LoaderService.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
     }
56 56
 
57 57
     /**
58
-     * @param       $services
58
+     * @param       Config $services
59 59
      * @param array $autoLoad
60 60
      *
61 61
      * @throws Exception
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
             if ($di->has($name)) {
94 94
                 $di->get($name);
95 95
             } else {
96
-                throw new Exception("Service $name not found in config file");
96
+                throw new Exception("service $name not found in config file");
97 97
             }
98 98
         }
99 99
     }
Please login to merge, or discard this patch.
src/app/Front/Kernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
         $di->set('dispatcher', $dispatcher);
32 32
 
33 33
         // Views config
34
-        \define('VIEW_PATH', __DIR__  . '/Views/');
34
+        \define('VIEW_PATH', __DIR__ . '/Views/');
35 35
 
36 36
         /** @var View $view */
37 37
         $view = $di->get('view');
Please login to merge, or discard this patch.
src/core/MicroModules.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
         // for all modules
45 45
         foreach ($this->modules as $moduleName => $module) {
46 46
             // gets route class
47
-            [ 'collections' => $collectionClass ] = $module;
47
+            ['collections' => $collectionClass] = $module;
48 48
 
49 49
             /** @var CollectionsInterface $route */
50 50
             $route = new $collectionClass();
Please login to merge, or discard this patch.
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 
52 52
             // checks the implementation of the interface
53 53
             if ($route instanceof CollectionsInterface === false) {
54
-                throw new Exception("Route $route must be instanceof CollectionsInterface");
54
+                throw new Exception("route $route must be instanceof CollectionsInterface");
55 55
             }
56 56
 
57 57
             // gets all collections for the module
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
                 $module = new $moduleClass();
105 105
 
106 106
                 if ($module instanceof MicroModuleInterface === false) {
107
-                    throw new Exception("Module $moduleClass must be instanceof MicroModuleInterface");
107
+                    throw new Exception("module $moduleClass must be instanceof MicroModuleInterface");
108 108
                 }
109 109
 
110 110
                 // init module
Please login to merge, or discard this patch.