Completed
Push — master ( 20628b...60a45e )
by Ryan
07:09
created
src/Mail/Mailer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      * @param  string|array    $view
18 18
      * @param  array           $data
19 19
      * @param  \Closure|string $callback
20
-     * @return mixed
20
+     * @return integer|null
21 21
      */
22 22
     public function send($view, array $data, $callback)
23 23
     {
Please login to merge, or discard this patch.
src/Routing/UrlGenerator.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 use Illuminate\Contracts\Support\Arrayable;
5 5
 use Illuminate\Http\Request;
6 6
 use Illuminate\Routing\RouteCollection;
7
-use Illuminate\Support\Str;
8 7
 use StringTemplate\Engine;
9 8
 
10 9
 /**
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -106,9 +106,9 @@
 block discarded – undo
106 106
      * Make a route path.
107 107
      *
108 108
      * @param       $name
109
-     * @param       $entry
109
+     * @param       \Anomaly\Streams\Platform\Entry\Contract\EntryInterface $entry
110 110
      * @param array $parameters
111
-     * @return mixed|null|string
111
+     * @return null|string
112 112
      */
113 113
     public function make($name, $entry, array $parameters = [])
114 114
     {
Please login to merge, or discard this patch.
src/Traits/FiresCallbacks.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@
 block discarded – undo
139 139
     /**
140 140
      * Fire field type events.
141 141
      *
142
-     * @param       $trigger
142
+     * @param       string $trigger
143 143
      * @param array $payload
144 144
      */
145 145
     public function fireFieldTypeEvents($trigger, $payload = [])
Please login to merge, or discard this patch.
src/Traits/Hookable.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,5 @@
 block discarded – undo
1 1
 <?php namespace Anomaly\Streams\Platform\Traits;
2 2
 
3
-use Illuminate\Contracts\Bus\SelfHandling;
4
-
5 3
 /**
6 4
  * Class Hookable
7 5
  *
Please login to merge, or discard this patch.
src/Ui/Breadcrumb/BreadcrumbCollection.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
     /**
17 17
      * Add a breadcrumb.
18 18
      *
19
-     * @param      $key
20
-     * @param null $url
19
+     * @param      string $key
20
+     * @param string $url
21 21
      */
22 22
     public function add($key, $url)
23 23
     {
Please login to merge, or discard this patch.
src/Entry/EntryRouter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
      * @param       $name
109 109
      * @param       $entry
110 110
      * @param array $parameters
111
-     * @return mixed|null|string
111
+     * @return null|string
112 112
      */
113 113
     public function make($name, $entry, array $parameters = [])
114 114
     {
Please login to merge, or discard this patch.
src/Ui/Form/FormBuilder.php 1 patch
Doc Comments   +17 added lines, -18 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
     {
@@ -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.