@@ -9,5 +9,8 @@ |
||
9 | 9 | */ |
10 | 10 | interface TableNameResolverInterface |
11 | 11 | { |
12 | + /** |
|
13 | + * @return string |
|
14 | + */ |
|
12 | 15 | public function getTableName($instance); |
13 | 16 | } |
@@ -9,5 +9,8 @@ |
||
9 | 9 | */ |
10 | 10 | interface ModelJoinerInterface |
11 | 11 | { |
12 | + /** |
|
13 | + * @return string |
|
14 | + */ |
|
12 | 15 | public function getJunctionClassName($classA, $classB); |
13 | 16 | } |
@@ -190,6 +190,10 @@ |
||
190 | 190 | return $return; |
191 | 191 | } |
192 | 192 | |
193 | + /** |
|
194 | + * @param integer $level |
|
195 | + * @param string $opr |
|
196 | + */ |
|
193 | 197 | private function parseRightExpression($level, $opr) { |
194 | 198 | switch ($opr) { |
195 | 199 | case 'between': return $this->parseBetween(); |
@@ -90,6 +90,9 @@ |
||
90 | 90 | return $relationshipDetails; |
91 | 91 | } |
92 | 92 | |
93 | + /** |
|
94 | + * @param string $type |
|
95 | + */ |
|
93 | 96 | private function createRelationships($type, $relationships) { |
94 | 97 | foreach ($relationships as $relationship) { |
95 | 98 | $relationship = $this->getRelationshipDetails($relationship); |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | |
150 | 150 | /** |
151 | 151 | * @method |
152 | - * @param type $name |
|
152 | + * @param string $name |
|
153 | 153 | * @param type $arguments |
154 | 154 | * @return type |
155 | 155 | */ |
@@ -178,6 +178,10 @@ discard block |
||
178 | 178 | return $this->retrieveItem($name); |
179 | 179 | } |
180 | 180 | |
181 | + /** |
|
182 | + * @param Relationship[] $relationships |
|
183 | + * @param integer $depth |
|
184 | + */ |
|
181 | 185 | private function expandArrayValue($array, $relationships, $depth, $index = null) |
182 | 186 | { |
183 | 187 | foreach ($relationships as $name => $relationship) { |
@@ -365,6 +369,9 @@ discard block |
||
365 | 369 | |
366 | 370 | } |
367 | 371 | |
372 | + /** |
|
373 | + * @param string $id |
|
374 | + */ |
|
368 | 375 | public function postSaveCallback($id) |
369 | 376 | { |
370 | 377 | |
@@ -393,7 +400,7 @@ discard block |
||
393 | 400 | |
394 | 401 | /** |
395 | 402 | * |
396 | - * @return DataAdapter |
|
403 | + * @return DriverAdapter |
|
397 | 404 | */ |
398 | 405 | public function getAdapter() |
399 | 406 | { |