@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | exit(EXIT_ERROR); |
| 101 | 101 | } |
| 102 | 102 | |
| 103 | - $jsonProperties[ 'name' ] = readable( |
|
| 103 | + $jsonProperties['name'] = readable( |
|
| 104 | 104 | pathinfo($modulePath, PATHINFO_FILENAME), |
| 105 | 105 | true |
| 106 | 106 | ); |
@@ -113,10 +113,10 @@ discard block |
||
| 113 | 113 | ) . '\\'; |
| 114 | 114 | } else { |
| 115 | 115 | $namespace = $this->namespace; |
| 116 | - $jsonProperties[ 'namespace' ] = rtrim($namespace, '\\') . '\\'; |
|
| 116 | + $jsonProperties['namespace'] = rtrim($namespace, '\\') . '\\'; |
|
| 117 | 117 | } |
| 118 | 118 | |
| 119 | - $jsonProperties[ 'created' ] = date('d M Y'); |
|
| 119 | + $jsonProperties['created'] = date('d M Y'); |
|
| 120 | 120 | |
| 121 | 121 | loader()->addNamespace($namespace, $modulePath); |
| 122 | 122 | |