Completed
Push — master ( 0e9bc5...7ef25f )
by Ryan
15:00
created
src/Addon/AddonIntegrator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
      * Register an addon.
110 110
      *
111 111
      * @param         $path
112
-     * @param         $namespace
112
+     * @param         string $namespace
113 113
      * @param boolean $enabled
114 114
      * @param boolean $installed
115 115
      * @return Addon|Extension|Module|Twig_ExtensionInterface
Please login to merge, or discard this patch.
src/Image/Image.php 1 patch
Doc Comments   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
     /**
310 310
      * Run a macro on the image.
311 311
      *
312
-     * @param $macro
312
+     * @param string $macro
313 313
      * @return Image
314 314
      * @throws \Exception
315 315
      */
@@ -434,7 +434,7 @@  discard block
 block discarded – undo
434 434
      *
435 435
      * @param  null $format
436 436
      * @param  int  $quality
437
-     * @return String
437
+     * @return \Intervention\Image\Image
438 438
      */
439 439
     public function encode($format = null, $quality = null)
440 440
     {
@@ -560,7 +560,7 @@  discard block
 block discarded – undo
560 560
     /**
561 561
      * Determine if the image needs to be published
562 562
      *
563
-     * @param $path
563
+     * @param string $path
564 564
      * @return bool
565 565
      */
566 566
     private function shouldPublish($path)
@@ -596,7 +596,7 @@  discard block
 block discarded – undo
596 596
     /**
597 597
      * Publish an image to the publish directory.
598 598
      *
599
-     * @param $path
599
+     * @param string $path
600 600
      */
601 601
     protected function publish($path)
602 602
     {
@@ -663,7 +663,7 @@  discard block
 block discarded – undo
663 663
     /**
664 664
      * Return the image srcsets by set.
665 665
      *
666
-     * @return array
666
+     * @return string
667 667
      */
668 668
     public function srcset()
669 669
     {
@@ -776,7 +776,7 @@  discard block
 block discarded – undo
776 776
     /**
777 777
      * Return if an extension is supported.
778 778
      *
779
-     * @param $extension
779
+     * @param null|string $extension
780 780
      * @return bool
781 781
      */
782 782
     protected function supportsType($extension)
@@ -912,7 +912,7 @@  discard block
 block discarded – undo
912 912
     /**
913 913
      * Get the image instance.
914 914
      *
915
-     * @return \Intervention\Image\Image
915
+     * @return null|string
916 916
      */
917 917
     public function getImage()
918 918
     {
@@ -945,7 +945,7 @@  discard block
 block discarded – undo
945 945
     /**
946 946
      * Get the file name.
947 947
      *
948
-     * @return null|string
948
+     * @return null|boolean
949 949
      */
950 950
     public function getVersion()
951 951
     {
@@ -1028,7 +1028,7 @@  discard block
 block discarded – undo
1028 1028
     /**
1029 1029
      * Add an attribute.
1030 1030
      *
1031
-     * @param  $attribute
1031
+     * @param  string $attribute
1032 1032
      * @param  $value
1033 1033
      * @return $this
1034 1034
      */
@@ -1103,7 +1103,7 @@  discard block
 block discarded – undo
1103 1103
     /**
1104 1104
      * Set the output mode.
1105 1105
      *
1106
-     * @param $output
1106
+     * @param string $output
1107 1107
      * @return $this
1108 1108
      */
1109 1109
     public function setOutput($output)
@@ -1149,7 +1149,7 @@  discard block
 block discarded – undo
1149 1149
     /**
1150 1150
      * Add a path by it's namespace hint.
1151 1151
      *
1152
-     * @param $namespace
1152
+     * @param string $namespace
1153 1153
      * @param $path
1154 1154
      * @return $this
1155 1155
      */
Please login to merge, or discard this patch.
src/Model/EloquentQueryBuilder.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     /**
112 112
      * Index cache collection
113 113
      *
114
-     * @return object
114
+     * @return EloquentQueryBuilder
115 115
      */
116 116
     protected function indexCacheCollection()
117 117
     {
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
      * Drop a cache collection
128 128
      * from runtime cache.
129 129
      *
130
-     * @param $collection
130
+     * @param string $collection
131 131
      */
132 132
     public static function dropRuntimeCache($collection)
133 133
     {
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
      * Get fresh models / disable cache
164 164
      *
165 165
      * @param  boolean $fresh
166
-     * @return object
166
+     * @return EloquentQueryBuilder
167 167
      */
168 168
     public function fresh($fresh = true)
169 169
     {
Please login to merge, or discard this patch.
src/Support/_helpers.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
     /**
13 13
      * Humanize the string.
14 14
      *
15
-     * @param        $target
15
+     * @param        string $target
16 16
      * @param string $separator
17 17
      * @return string
18 18
      */
@@ -75,8 +75,8 @@  discard block
 block discarded – undo
75 75
      * Get an item from an array or object using "dot" notation.
76 76
      *
77 77
      * @param  mixed        $target
78
-     * @param  string|array $key
79
-     * @param  mixed        $default
78
+     * @param  string $key
79
+     * @param  string        $default
80 80
      * @return mixed
81 81
      */
82 82
     function data($target, $key, $default = null)
Please login to merge, or discard this patch.