@@ -53,7 +53,8 @@ |
||
| 53 | 53 | * @param mixed $key |
| 54 | 54 | * @return mixed |
| 55 | 55 | */ |
| 56 | - public function offsetGet( $key ) { |
|
| 56 | + public function offsetGet( $key ) |
|
| 57 | + { |
|
| 57 | 58 | if( property_exists( $this, $key )) { |
| 58 | 59 | return $this->{$key}; |
| 59 | 60 | } |
@@ -30,7 +30,9 @@ discard block |
||
| 30 | 30 | */ |
| 31 | 31 | public function __toString() |
| 32 | 32 | { |
| 33 | - if( empty( $this->values ))return; |
|
| 33 | + if( empty( $this->values )) { |
|
| 34 | + return; |
|
| 35 | + } |
|
| 34 | 36 | return glsr( Template::class )->build( 'templates/review', [ |
| 35 | 37 | 'context' => $this->values, |
| 36 | 38 | 'review' => $this->review, |
@@ -41,7 +43,8 @@ discard block |
||
| 41 | 43 | * @param mixed $key |
| 42 | 44 | * @return mixed |
| 43 | 45 | */ |
| 44 | - public function offsetGet( $key ) { |
|
| 46 | + public function offsetGet( $key ) |
|
| 47 | + { |
|
| 45 | 48 | if( property_exists( $this, $key )) { |
| 46 | 49 | return $this->{$key}; |
| 47 | 50 | } |