Passed
Push — master ( 10361c...9be6d3 )
by Gabriel
03:47
created
src/Properties/AbstractProperty/Generic.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@
 block discarded – undo
180 180
     }
181 181
 
182 182
     /**
183
-     * @return bool|mixed
183
+     * @return null|false
184 184
      */
185 185
     public function update()
186 186
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use ByTIC\Models\SmartProperties\Properties\AbstractProperty\Traits\HasManagerTrait;
6 6
 use ByTIC\Models\SmartProperties\Properties\AbstractProperty\Traits\HasNameTrait;
7 7
 use Nip\Records\Record as Record;
8
-use ReflectionClass;
9 8
 
10 9
 /**
11 10
  * Class Generic
Please login to merge, or discard this patch.
src/Properties/Definitions/Definition.php 2 patches
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     protected $defaultValue = null;
43 43
 
44 44
     /**
45
-     * @param $name
45
+     * @param string $name
46 46
      *
47 47
      * @return Property
48 48
      * @throws Exception
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
     }
108 108
 
109 109
     /**
110
-     * @return mixed
110
+     * @return string
111 111
      */
112 112
     public function getName()
113 113
     {
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
     }
134 134
 
135 135
     /**
136
-     * @return mixed
136
+     * @return string
137 137
      */
138 138
     public function getField()
139 139
     {
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
     }
158 158
 
159 159
     /**
160
-     * @param RecordManager|RecordsTrait $manager
160
+     * @param \ByTIC\Models\SmartProperties\RecordsTraits\HasSmartProperties\RecordsTrait $manager
161 161
      */
162 162
     public function setManager($manager)
163 163
     {
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
     }
290 290
 
291 291
     /**
292
-     * @param null $type
292
+     * @param string|null $type
293 293
      *
294 294
      * @return string
295 295
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use ByTIC\Common\Records\Traits\HasSmartProperties\RecordsTrait;
7 7
 use Exception;
8 8
 use Nip\Records\RecordManager;
9
-use Nip_File_System as FileSystem;
10 9
 
11 10
 /**
12 11
  * Class Definition
Please login to merge, or discard this patch.
src/RecordsTraits/HasTypes/RecordsTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
     /**
109 109
      * Generate the type name from file path
110 110
      * @param string $path
111
-     * @return mixed
111
+     * @return string
112 112
      */
113 113
     protected function generateTypeNameFromPath($path)
114 114
     {
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
     }
163 163
 
164 164
     /**
165
-     * @param null $type
165
+     * @param string|null $type
166 166
      * @return string
167 167
      */
168 168
     public function getTypeClass($type = null)
Please login to merge, or discard this patch.
src/RecordsTraits/HasSmartProperties/RecordTrait.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     protected $smartProperties = [];
25 25
 
26 26
     /**
27
-     * @param $name
27
+     * @param string $name
28 28
      * @return PropertyValue
29 29
      */
30 30
     public function getSmartProperty($name)
@@ -116,9 +116,9 @@  discard block
 block discarded – undo
116 116
     }
117 117
 
118 118
     /**
119
-     * @param $name
120
-     * @param $value
121
-     * @return bool
119
+     * @param string $name
120
+     * @param boolean|string $value
121
+     * @return null|false
122 122
      * @throws \Exception
123 123
      */
124 124
     public function updateSmartProperty($name, $value)
Please login to merge, or discard this patch.
src/RecordsTraits/HasTypes/RecordTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     }
41 41
 
42 42
     /**
43
-     * @param $type
43
+     * @param string|null $type
44 44
      * @return mixed
45 45
      * @throws \Nip\Logger\Exception
46 46
      */
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
     }
95 95
 
96 96
     /**
97
-     * @param $typeObject
97
+     * @param GenericType $typeObject
98 98
      * @return RecordTrait
99 99
      */
100 100
     public function setTypeFromObject($typeObject)
Please login to merge, or discard this patch.