Completed
Push — master ( 5e51f5...c9193b )
by Marco
13:02
created
src/ChildishModel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -209,7 +209,7 @@
 block discarded – undo
209 209
     /**
210 210
      * Begin querying the model.
211 211
      *
212
-     * @return \Childish\query\Builder
212
+     * @return ModelManager
213 213
      */
214 214
     public static function query()
215 215
     {
Please login to merge, or discard this patch.
src/database/ModelManager.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      * Create a new Eloquent query builder instance.
51 51
      *
52 52
      * @param  \Childish\query\Builder $query
53
-     * @return mixed|void
53
+     * @return ChildishModel
54 54
      */
55 55
     public function __construct(Builder $query)
56 56
     {
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
     /**
169 169
      * Execute the query and get the first result.
170 170
      *
171
-     * @param  array $columns
171
+     * @param  string[] $columns
172 172
      * @return \Childish\ChildishModel|static|null
173 173
      */
174 174
     public function first($columns = ['*'])
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
     /**
266 266
      * Delete a record from the database.
267 267
      *
268
-     * @return mixed
268
+     * @return integer
269 269
      */
270 270
     public function delete()
271 271
     {
Please login to merge, or discard this patch.
src/support/Tools.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -380,7 +380,7 @@  discard block
 block discarded – undo
380 380
      * Determine if a given string ends with a given substring.
381 381
      *
382 382
      * @param  string       $haystack
383
-     * @param  string|array $needles
383
+     * @param  string[] $needles
384 384
      * @return bool
385 385
      */
386 386
     public static function endsWith($haystack, $needles)
@@ -660,7 +660,7 @@  discard block
 block discarded – undo
660 660
      * Basename
661 661
      *
662 662
      * @static
663
-     * @param $class
663
+     * @param \Childish\ChildishModel $class
664 664
      * @return string
665 665
      */
666 666
     public static function Basename($class)
Please login to merge, or discard this patch.