@@ -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 | } |