Completed
Push — master ( 41c333...2cb17b )
by Andrii
14:14
created
src/storage/ClientQuery.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -54,6 +54,9 @@
 block discarded – undo
54 54
         return $this;
55 55
     }
56 56
 
57
+    /**
58
+     * @param integer $id
59
+     */
57 60
     public function whereId($id)
58 61
     {
59 62
         return parent::andWhere(['c.obj_id' => $id]);
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,6 @@
 block discarded – undo
10 10
 
11 11
 namespace hiam\mrdp\storage;
12 12
 
13
-use yii\db\Query;
14
-
15 13
 class ClientQuery extends \yii\db\ActiveQuery
16 14
 {
17 15
     public function init()
Please login to merge, or discard this patch.
src/storage/Client.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -152,6 +152,9 @@
 block discarded – undo
152 152
         return self::getDb()->createCommand("SELECT get_value(:id,:prop)", $params)->queryScalar();
153 153
     }
154 154
 
155
+    /**
156
+     * @param string $prop
157
+     */
155 158
     public function saveValue($prop, $value)
156 159
     {
157 160
         $params = [
Please login to merge, or discard this patch.