Completed
Push — master ( 5ee1ce...92b186 )
by Renato
05:42
created
src/NwLaravel/FileStorage/StorageManager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      *
58 58
      * @param string $filename Path File
59 59
      *
60
-     * @return bool
60
+     * @return integer
61 61
      */
62 62
     public function size($filename)
63 63
     {
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
      *
139 139
      * @param string $filename Path File
140 140
      *
141
-     * @return bool
141
+     * @return string
142 142
      */
143 143
     public function readFile($filename)
144 144
     {
Please login to merge, or discard this patch.
src/NwLaravel/Repositories/Eloquent/AbstractRepository.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Illuminate\Database\Query\Expression;
15 15
 use Illuminate\Database\Query\Grammars;
16 16
 use BadMethodCallException;
17
-use RuntimeException;
18 17
 
19 18
 /**
20 19
  * Class AbstractRepository
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     protected $skipPresenter = true;
35 35
 
36 36
     /**
37
-     * @return Model
37
+     * @return Builder
38 38
      * @throws RepositoryException
39 39
      */
40 40
     public function makeModel()
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
     /**
59 59
      * Get Query
60 60
      *
61
-     * @return Builder
61
+     * @return \Illuminate\Database\Eloquent\Model
62 62
      */
63 63
     public function getQuery()
64 64
     {
Please login to merge, or discard this patch.
src/NwLaravel/Repositories/Criterias/Filters/FilterBetween.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      * Filter
38 38
      *
39 39
      * @param Query\Builder $query
40
-     * @param int|string    $key
40
+     * @param string    $key
41 41
      * @param mixed         $value
42 42
      *
43 43
      * @return boolean
Please login to merge, or discard this patch.
src/NwLaravel/Repositories/Criterias/InputCriteria.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      *
80 80
      * @param array $columns Array Columns
81 81
      *
82
-     * @return this
82
+     * @return InputCriteria
83 83
      */
84 84
     public function addColumns(array $columns)
85 85
     {
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      *
93 93
      * @param array $searchables
94 94
      *
95
-     * @return this
95
+     * @return InputCriteria
96 96
      */
97 97
     public function setSearchables(array $searchables)
98 98
     {
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      *
106 106
      * @param string $name
107 107
      *
108
-     * @return this
108
+     * @return InputCriteria
109 109
      */
110 110
     public function setNameSearchable($name)
111 111
     {
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      *
119 119
      * @param string $orderBy
120 120
      *
121
-     * @return this
121
+     * @return InputCriteria
122 122
      */
123 123
     public function setFieldOrderBy($orderBy)
124 124
     {
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      *
132 132
      * @param string $sortedBy
133 133
      *
134
-     * @return this
134
+     * @return InputCriteria
135 135
      */
136 136
     public function setFieldSortedBy($sortedBy)
137 137
     {
Please login to merge, or discard this patch.
src/NwLaravel/Repositories/Criterias/Filters/FilterDate.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      * Filter
38 38
      *
39 39
      * @param Query\Builder $query
40
-     * @param int|string    $key
40
+     * @param string    $key
41 41
      * @param mixed         $value
42 42
      *
43 43
      * @return boolean
Please login to merge, or discard this patch.
src/NwLaravel/FileStorage/ImagineFactory.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace NwLaravel\FileStorage;
4 4
 
5 5
 use Intervention\Image\ImageManager;
6
-use Intervention\Image\Image;
7 6
 
8 7
 class ImagineFactory
9 8
 {
Please login to merge, or discard this patch.
src/NwLaravel/FileStorage/ImagineGd.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
      * @param integer $x
129 129
      * @param integer $y
130 130
      *
131
-     * @return binary
131
+     * @return ImagineGd
132 132
      */
133 133
     public function crop($width, $height, $x, $y)
134 134
     {
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
      *
143 143
      * @param integer $angle
144 144
      *
145
-     * @return binary
145
+     * @return ImagineGd
146 146
      */
147 147
     public function rotate($angle)
148 148
     {
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
      * @param string  $format
174 174
      * @param integer $quality
175 175
      *
176
-     * @return binary
176
+     * @return Image
177 177
      */
178 178
     public function encode($format = null, $quality = null)
179 179
     {
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
      * @param string  $path
187 187
      * @param integer $quality
188 188
      *
189
-     * @return binary
189
+     * @return ImagineGd
190 190
      */
191 191
     public function save($path, $quality = null)
192 192
     {
Please login to merge, or discard this patch.
src/NwLaravel/FileStorage/ImagineImagick.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
      * @param integer $x
226 226
      * @param integer $y
227 227
      *
228
-     * @return binary
228
+     * @return Imagine
229 229
      */
230 230
     public function crop($width, $height, $x, $y)
231 231
     {
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
      *
240 240
      * @param integer $angle
241 241
      *
242
-     * @return binary
242
+     * @return ImagineImagick
243 243
      */
244 244
     public function rotate($angle)
245 245
     {
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
      * @param string  $format
261 261
      * @param integer $quality
262 262
      *
263
-     * @return binary
263
+     * @return string
264 264
      */
265 265
     public function encode($format = null, $quality = null)
266 266
     {
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
      * @param string  $path
274 274
      * @param integer $quality
275 275
      *
276
-     * @return binary
276
+     * @return ImagineImagick
277 277
      */
278 278
     public function save($path, $quality = null)
279 279
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace NwLaravel\FileStorage;
4 4
 
5 5
 use Imagick;
6
-use ImagickPixel;
7 6
 
8 7
 class ImagineImagick implements Imagine
9 8
 {
Please login to merge, or discard this patch.