@@ -79,6 +79,9 @@ |
||
79 | 79 | return [$attribute => $this->$attribute]; |
80 | 80 | } |
81 | 81 | |
82 | + /** |
|
83 | + * @param string $attribute |
|
84 | + */ |
|
82 | 85 | protected function attributeIsAFunction($attribute) |
83 | 86 | { |
84 | 87 | if (preg_match("/(.*)\((.*)\)$/", $attribute, $groups)) { |
@@ -12,6 +12,9 @@ |
||
12 | 12 | |
13 | 13 | private $otherProperty; |
14 | 14 | |
15 | + /** |
|
16 | + * @param string $otherProperty |
|
17 | + */ |
|
15 | 18 | public function __construct(array $attributes, $otherProperty = null) |
16 | 19 | { |
17 | 20 | $this->attributes = $attributes; |