@@ -65,7 +65,7 @@ |
||
| 65 | 65 | */ |
| 66 | 66 | public function getShell() |
| 67 | 67 | { |
| 68 | - if (! $this->shell) { |
|
| 68 | + if (!$this->shell) { |
|
| 69 | 69 | $config = new Configuration(); |
| 70 | 70 | |
| 71 | 71 | $config->getPresenter()->addCasters( |
@@ -45,13 +45,13 @@ |
||
| 45 | 45 | $results = []; |
| 46 | 46 | foreach (self::$appProperties as $property) { |
| 47 | 47 | try { |
| 48 | - if (method_exists($app, $property)) { |
|
| 49 | - $val = $app->$property(); |
|
| 48 | + if (method_exists($app, $property)) { |
|
| 49 | + $val = $app->$property(); |
|
| 50 | 50 | |
| 51 | - if (! is_null($val)) { |
|
| 52 | - $results[Caster::PREFIX_VIRTUAL.$property] = $val; |
|
| 53 | - } |
|
| 54 | - } |
|
| 51 | + if (! is_null($val)) { |
|
| 52 | + $results[Caster::PREFIX_VIRTUAL.$property] = $val; |
|
| 53 | + } |
|
| 54 | + } |
|
| 55 | 55 | } catch (Exception $e) { |
| 56 | 56 | // |
| 57 | 57 | } |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | if (method_exists($app, $property)) { |
| 49 | 49 | $val = $app->$property(); |
| 50 | 50 | |
| 51 | - if (! is_null($val)) { |
|
| 51 | + if (!is_null($val)) { |
|
| 52 | 52 | $results[Caster::PREFIX_VIRTUAL.$property] = $val; |
| 53 | 53 | } |
| 54 | 54 | } |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -require_once __DIR__ . '/vendor/autoload.php'; |
|
| 3 | +require_once __DIR__.'/vendor/autoload.php'; |
|
| 4 | 4 | |
| 5 | 5 | $path = __DIR__.'/fixture'; |
| 6 | 6 | |