@@ -70,7 +70,7 @@ |
||
70 | 70 | } |
71 | 71 | |
72 | 72 | /** |
73 | - * @param mixed $candidate |
|
73 | + * @param string $candidate |
|
74 | 74 | * @param RenderingContextInterface $renderingContext |
75 | 75 | * @return mixed |
76 | 76 | */ |
@@ -41,7 +41,7 @@ |
||
41 | 41 | protected $source = null; |
42 | 42 | |
43 | 43 | /** |
44 | - * @return mixed |
|
44 | + * @return string |
|
45 | 45 | */ |
46 | 46 | public function getSource() |
47 | 47 | { |
@@ -142,6 +142,9 @@ |
||
142 | 142 | } |
143 | 143 | } |
144 | 144 | |
145 | + /** |
|
146 | + * @param string $originalPathToSet |
|
147 | + */ |
|
145 | 148 | protected function assertSubjectIsArrayOrObject($subject, array $segmentsUntilSubject, $originalPathToSet) |
146 | 149 | { |
147 | 150 | if (!(is_array($subject) || is_object($subject))) { |