Completed
Push — master ( 6bc7cf...be821e )
by James Ekow Abaka
05:06
created
src/Context.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -52,11 +52,17 @@
 block discarded – undo
52 52
             ->getJunctionClassName($classA, $classB);
53 53
     }
54 54
 
55
+    /**
56
+     * @param RecordWrapper $instance
57
+     */
55 58
     public function getModelTable($instance) {
56 59
         return$this->container->singleton(interfaces\TableNameResolverInterface::class)
57 60
             ->getTableName($instance);
58 61
     }
59 62
 
63
+    /**
64
+     * @param string $model
65
+     */
60 66
     public function getClassName($model, $context = null) {
61 67
         return$this->container->singleton(interfaces\ModelClassResolverInterface::class)
62 68
             ->getModelClassName($model, $context);
Please login to merge, or discard this patch.
src/QueryOperations.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     /**
51 51
      * 
52 52
      * @param RecordWrapper $wrapper
53
-     * @param DataAdapter $adapter
53
+     * @param DataOperations $adapter
54 54
      * @param DataOperations $dataOperations
55 55
      */
56 56
     public function __construct(Container $container, $wrapper, $adapter, $dataOperations) {
Please login to merge, or discard this patch.
src/QueryParameters.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@  discard block
 block discarded – undo
23 23
 
24 24
     /**
25 25
      *
26
-     * @param \ $model
27 26
      */
28 27
     public function __construct(DriverAdapter $db, $table) {
29 28
         $this->db = $db;
@@ -106,6 +105,9 @@  discard block
 block discarded – undo
106 105
         $this->boundData += $values;
107 106
     }
108 107
 
108
+    /**
109
+     * @param boolean $firstOnly
110
+     */
109 111
     public function setFirstOnly($firstOnly) {
110 112
         $this->firstOnly = $firstOnly;
111 113
         return $this;
@@ -123,6 +125,9 @@  discard block
 block discarded – undo
123 125
         $this->offset = $offset;
124 126
     }
125 127
 
128
+    /**
129
+     * @param string $field
130
+     */
126 131
     public function addSort($field, $direction = 'ASC') {
127 132
         $this->sorts[] = "$field $direction";
128 133
     }
Please login to merge, or discard this patch.