Completed
Push — master ( 882132...509951 )
by James Ekow Abaka
02:54
created
src/FilterCompiler.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -204,6 +204,10 @@
 block discarded – undo
204 204
         return $return;
205 205
     }
206 206
 
207
+    /**
208
+     * @param integer $level
209
+     * @param string $opr
210
+     */
207 211
     private function parseRightExpression($level, $opr)
208 212
     {
209 213
         switch ($opr) {
Please login to merge, or discard this patch.
src/ModelDescription.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -103,6 +103,9 @@
 block discarded – undo
103 103
         return $relationshipDetails;
104 104
     }
105 105
 
106
+    /**
107
+     * @param string $type
108
+     */
106 109
     private function createRelationships($type, $relationships)
107 110
     {
108 111
         foreach ($relationships as $relationship) {
Please login to merge, or discard this patch.
src/Operations.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -23,6 +23,9 @@
 block discarded – undo
23 23
         'save', 'validate'
24 24
     ];
25 25
 
26
+    /**
27
+     * @param string $table
28
+     */
26 29
     public function __construct(RecordWrapper $wrapper, $table)
27 30
     {
28 31
         $this->wrapper = $wrapper;
Please login to merge, or discard this patch.
src/ORMContext.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -89,6 +89,9 @@
 block discarded – undo
89 89
         return $this->config;
90 90
     }
91 91
 
92
+    /**
93
+     * @param RecordWrapper $model
94
+     */
92 95
     public function getModelDescription($model) : ModelDescription
93 96
     {
94 97
         return new ModelDescription($model);
Please login to merge, or discard this patch.
src/interfaces/ValidatorFactoryInterface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -17,5 +17,10 @@
 block discarded – undo
17 17
  */
18 18
 interface ValidatorFactoryInterface
19 19
 {
20
+    /**
21
+     * @param integer $mode
22
+     *
23
+     * @return \ntentan\nibii\DefaultValidator
24
+     */
20 25
     public function createModelValidator(RecordWrapper $model, $mode);
21 26
 }
Please login to merge, or discard this patch.
src/interfaces/ModelFactoryInterface.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -12,7 +12,17 @@
 block discarded – undo
12 12
 interface ModelFactoryInterface
13 13
 {
14 14
     public function createModel($name, $context);
15
+
16
+    /**
17
+     * @param \ntentan\nibii\RecordWrapper $instance
18
+     *
19
+     * @return string
20
+     */
15 21
     public function getModelTable($instance);
16 22
     public function getClassName($model);
23
+
24
+    /**
25
+     * @return string
26
+     */
17 27
     public function getJunctionClassName($classA, $classB);
18 28
 }
19 29
\ No newline at end of file
Please login to merge, or discard this patch.
src/RecordWrapper.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -395,6 +395,9 @@  discard block
 block discarded – undo
395 395
 
396 396
     }
397 397
 
398
+    /**
399
+     * @param string $id
400
+     */
398 401
     public function postSaveCallback($id)
399 402
     {
400 403
 
@@ -431,6 +434,10 @@  discard block
 block discarded – undo
431 434
         return $this->adapter;
432 435
     }
433 436
 
437
+    /**
438
+     * @param Relationship[] $relationships
439
+     * @param integer $depth
440
+     */
434 441
     private function expandArrayValue($array, $relationships, $depth, $expandableModels = [], $index = null)
435 442
     {
436 443
         if (empty($expandableModels)) {
Please login to merge, or discard this patch.