Completed
Push — master ( 7265be...515cb6 )
by Ryan
07:32
created
src/Image/Image.php 1 patch
Doc Comments   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
     /**
290 290
      * Run a macro on the image.
291 291
      *
292
-     * @param $macro
292
+     * @param string $macro
293 293
      * @return Image
294 294
      * @throws \Exception
295 295
      */
@@ -394,7 +394,7 @@  discard block
 block discarded – undo
394 394
      *
395 395
      * @param null $format
396 396
      * @param int  $quality
397
-     * @return String
397
+     * @return \Intervention\Image\Image
398 398
      */
399 399
     public function encode($format = null, $quality = null)
400 400
     {
@@ -495,7 +495,7 @@  discard block
 block discarded – undo
495 495
     /**
496 496
      * Determine if the image needs to be published
497 497
      *
498
-     * @param $path
498
+     * @param string $path
499 499
      * @return bool
500 500
      */
501 501
     private function shouldPublish($path)
@@ -531,7 +531,7 @@  discard block
 block discarded – undo
531 531
     /**
532 532
      * Publish an image to the publish directory.
533 533
      *
534
-     * @param $path
534
+     * @param string $path
535 535
      */
536 536
     protected function publish($path)
537 537
     {
@@ -600,7 +600,7 @@  discard block
 block discarded – undo
600 600
     /**
601 601
      * Return the image srcsets by set.
602 602
      *
603
-     * @return array
603
+     * @return string
604 604
      */
605 605
     public function srcset()
606 606
     {
@@ -843,7 +843,7 @@  discard block
 block discarded – undo
843 843
     /**
844 844
      * Get the image instance.
845 845
      *
846
-     * @return \Intervention\Image\Image
846
+     * @return null|string
847 847
      */
848 848
     public function getImage()
849 849
     {
@@ -940,7 +940,7 @@  discard block
 block discarded – undo
940 940
     /**
941 941
      * Add an attribute.
942 942
      *
943
-     * @param  $attribute
943
+     * @param  string $attribute
944 944
      * @param  $value
945 945
      * @return $this
946 946
      */
@@ -1015,7 +1015,7 @@  discard block
 block discarded – undo
1015 1015
     /**
1016 1016
      * Set the output mode.
1017 1017
      *
1018
-     * @param $output
1018
+     * @param string $output
1019 1019
      * @return $this
1020 1020
      */
1021 1021
     public function setOutput($output)
@@ -1061,7 +1061,7 @@  discard block
 block discarded – undo
1061 1061
     /**
1062 1062
      * Add a path by it's namespace hint.
1063 1063
      *
1064
-     * @param $namespace
1064
+     * @param string $namespace
1065 1065
      * @param $path
1066 1066
      * @return $this
1067 1067
      */
Please login to merge, or discard this patch.
src/Image/ImageMacros.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
     /**
108 108
      * Return if a macro exists or not.
109 109
      *
110
-     * @param $macro
110
+     * @param string $macro
111 111
      * @return bool
112 112
      */
113 113
     public function isMacro($macro)
Please login to merge, or discard this patch.
src/Installer/Console/Command/SetStreamsData.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
 use Anomaly\Streams\Platform\Installer\InstallerCollection;
25 25
 use Anomaly\Streams\Platform\Support\Collection;
26 26
 use Illuminate\Console\Command;
27
-use Illuminate\Contracts\Config\Repository;
28 27
 use Illuminate\Contracts\Events\Dispatcher;
29 28
 use Illuminate\Foundation\Bus\DispatchesJobs;
30 29
 
Please login to merge, or discard this patch.
src/Ui/Table/Table.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -388,7 +388,7 @@
 block discarded – undo
388 388
      * Get an option value.
389 389
      *
390 390
      * @param      $key
391
-     * @param null $default
391
+     * @param integer|null $default
392 392
      * @return mixed
393 393
      */
394 394
     public function getOption($key, $default = null)
Please login to merge, or discard this patch.
src/Model/EloquentModel.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     /**
113 113
      * Fire a model event.
114 114
      *
115
-     * @param $event
115
+     * @param string $event
116 116
      * @return mixed
117 117
      */
118 118
     public function fireEvent($event)
@@ -564,6 +564,9 @@  discard block
 block discarded – undo
564 564
         return parent::fill($attributes);
565 565
     }
566 566
 
567
+    /**
568
+     * @param string $key
569
+     */
567 570
     private function getTranslationByLocaleKey($key)
568 571
     {
569 572
         foreach ($this->translations as $translation) {
@@ -700,6 +703,9 @@  discard block
 block discarded – undo
700 703
         return false;
701 704
     }
702 705
 
706
+    /**
707
+     * @param string $key
708
+     */
703 709
     public function __get($key)
704 710
     {
705 711
         if ($this->hasHook($key)) {
Please login to merge, or discard this patch.
src/Addon/FieldType/FieldTypeQuery.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
     /**
129 129
      * Set the constraint.
130 130
      *
131
-     * @param $constraint
131
+     * @param string $constraint
132 132
      * @return $this
133 133
      */
134 134
     public function setConstraint($constraint)
Please login to merge, or discard this patch.
src/Entry/EntryModel.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
     /**
197 197
      * Set a field value.
198 198
      *
199
-     * @param      $fieldSlug
199
+     * @param      string $fieldSlug
200 200
      * @param      $value
201 201
      * @param null $locale
202 202
      * @return $this
@@ -608,7 +608,7 @@  discard block
 block discarded – undo
608 608
      * Return whether or not the assignment for
609 609
      * the given field slug is translatable.
610 610
      *
611
-     * @param $fieldSlug
611
+     * @param string $fieldSlug
612 612
      * @return bool
613 613
      */
614 614
     public function assignmentIsTranslatable($fieldSlug)
Please login to merge, or discard this patch.
src/Ui/Form/FormBuilder.php 1 patch
Doc Comments   +18 added lines, -19 removed lines patch added patch discarded remove patch
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
     /**
275 275
      * Fire field events.
276 276
      *
277
-     * @param       $trigger
277
+     * @param       string $trigger
278 278
      * @param array $payload
279 279
      */
280 280
     public function fireFieldEvents($trigger, array $payload = [])
@@ -408,7 +408,7 @@  discard block
 block discarded – undo
408 408
     /**
409 409
      * Set the form model.
410 410
      *
411
-     * @param  $model
411
+     * @param  string|null $model
412 412
      * @return $this
413 413
      */
414 414
     public function setModel($model)
@@ -444,7 +444,7 @@  discard block
 block discarded – undo
444 444
     /**
445 445
      * Get the entry object.
446 446
      *
447
-     * @return null|EntryInterface|FieldInterface|mixed
447
+     * @return null|integer
448 448
      */
449 449
     public function getEntry()
450 450
     {
@@ -685,8 +685,8 @@  discard block
 block discarded – undo
685 685
     /**
686 686
      * Get an option value.
687 687
      *
688
-     * @param      $key
689
-     * @param null $default
688
+     * @param      string $key
689
+     * @param string $default
690 690
      * @return mixed
691 691
      */
692 692
     public function getOption($key, $default = null)
@@ -697,8 +697,8 @@  discard block
 block discarded – undo
697 697
     /**
698 698
      * Set an option value.
699 699
      *
700
-     * @param $key
701
-     * @param $value
700
+     * @param string $key
701
+     * @param string $value
702 702
      * @return $this
703 703
      */
704 704
     public function setOption($key, $value)
@@ -762,7 +762,7 @@  discard block
 block discarded – undo
762 762
     /**
763 763
      * Get a form option value.
764 764
      *
765
-     * @param      $key
765
+     * @param      string $key
766 766
      * @param null $default
767 767
      * @return mixed
768 768
      */
@@ -818,7 +818,7 @@  discard block
 block discarded – undo
818 818
     /**
819 819
      * Return the form entry's ID.
820 820
      *
821
-     * @return int|mixed|null
821
+     * @return null|integer
822 822
      */
823 823
     public function getFormEntryId()
824 824
     {
@@ -854,7 +854,7 @@  discard block
 block discarded – undo
854 854
     /**
855 855
      * Set the form mode.
856 856
      *
857
-     * @param $mode
857
+     * @param string $mode
858 858
      * @return $this
859 859
      */
860 860
     public function setFormMode($mode)
@@ -879,7 +879,7 @@  discard block
 block discarded – undo
879 879
     /**
880 880
      * Set a form value.
881 881
      *
882
-     * @param $key
882
+     * @param string $key
883 883
      * @param $value
884 884
      * @return $this
885 885
      */
@@ -949,7 +949,7 @@  discard block
 block discarded – undo
949 949
     /**
950 950
      * Set the form response.
951 951
      *
952
-     * @param null|false|Response $response
952
+     * @param Response $response
953 953
      * @return $this
954 954
      */
955 955
     public function setFormResponse(Response $response)
@@ -1021,7 +1021,7 @@  discard block
 block discarded – undo
1021 1021
      * Disable a form field.
1022 1022
      *
1023 1023
      * @param $fieldSlug
1024
-     * @return FieldType
1024
+     * @return Form
1025 1025
      */
1026 1026
     public function disableFormField($fieldSlug)
1027 1027
     {
@@ -1087,7 +1087,7 @@  discard block
 block discarded – undo
1087 1087
     /**
1088 1088
      * Get the form errors.
1089 1089
      *
1090
-     * @return null|MessageBag
1090
+     * @return \Illuminate\Support\MessageBag
1091 1091
      */
1092 1092
     public function getFormErrors()
1093 1093
     {
@@ -1098,7 +1098,7 @@  discard block
 block discarded – undo
1098 1098
      * Add an error to the form.
1099 1099
      *
1100 1100
      * @param $field
1101
-     * @param $message
1101
+     * @param string $message
1102 1102
      * @return $this
1103 1103
      */
1104 1104
     public function addFormError($field, $message)
@@ -1186,9 +1186,9 @@  discard block
 block discarded – undo
1186 1186
     /**
1187 1187
      * Get a request value.
1188 1188
      *
1189
-     * @param      $key
1189
+     * @param      string $key
1190 1190
      * @param null $default
1191
-     * @return mixed
1191
+     * @return string
1192 1192
      */
1193 1193
     public function getRequestValue($key, $default = null)
1194 1194
     {
@@ -1211,8 +1211,7 @@  discard block
 block discarded – undo
1211 1211
      * Return a post key flag.
1212 1212
      *
1213 1213
      * @param      $key
1214
-     * @param null $default
1215
-     * @return mixed
1214
+     * @return boolean
1216 1215
      */
1217 1216
     public function hasPostedInput($key)
1218 1217
     {
Please login to merge, or discard this patch.