Completed
Push — master ( da204f...b9b4e1 )
by James Ekow Abaka
01:39
created
src/interfaces/TableNameResolverInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,5 +9,8 @@
 block discarded – undo
9 9
  */
10 10
 interface TableNameResolverInterface
11 11
 {
12
+    /**
13
+     * @return string
14
+     */
12 15
     public function getTableName($instance);
13 16
 }
Please login to merge, or discard this patch.
src/interfaces/ModelJoinerInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,5 +9,8 @@
 block discarded – undo
9 9
  */
10 10
 interface ModelJoinerInterface
11 11
 {
12
+    /**
13
+     * @return string
14
+     */
12 15
     public function getJunctionClassName($classA, $classB);
13 16
 }
Please login to merge, or discard this patch.
src/FilterCompiler.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -190,6 +190,10 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/ModelDescription.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -90,6 +90,9 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/RecordWrapper.php 1 patch
Doc Comments   +9 added lines, -2 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
 
147 147
     /**
148 148
      * @method
149
-     * @param type $name
149
+     * @param string $name
150 150
      * @param type $arguments
151 151
      * @return type
152 152
      */
@@ -176,6 +176,10 @@  discard block
 block discarded – undo
176 176
         return $this->retrieveItem($name);
177 177
     }
178 178
 
179
+    /**
180
+     * @param Relationship[] $relationships
181
+     * @param integer $depth
182
+     */
179 183
     private function expandArrayValue($array, $relationships, $depth, $index = null) {
180 184
         foreach ($relationships as $name => $relationship) {
181 185
             $array[$name] = $this->fetchRelatedFields($relationship, $index)->toArray($depth);
@@ -336,6 +340,9 @@  discard block
 block discarded – undo
336 340
         
337 341
     }
338 342
 
343
+    /**
344
+     * @param string $id
345
+     */
339 346
     public function postSaveCallback($id) {
340 347
         
341 348
     }
@@ -360,7 +367,7 @@  discard block
 block discarded – undo
360 367
     
361 368
     /**
362 369
      * 
363
-     * @return DataAdapter
370
+     * @return DriverAdapter
364 371
      */
365 372
     public function getAdapter() {
366 373
         $this->initialize();
Please login to merge, or discard this patch.