Completed
Push — master ( 35a22d...ff2beb )
by Renato
16:40
created
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/ImagineImagick.php 2 patches
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.
Doc Comments   +6 added lines, -7 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     /**
16 16
      * Construct
17 17
      *
18
-     * @param string|blob $data
18
+     * @param string $data
19 19
      */
20 20
     public function __construct($data)
21 21
     {
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
      * @param integer $x
248 248
      * @param integer $y
249 249
      *
250
-     * @return binary
250
+     * @return Imagine
251 251
      */
252 252
     public function crop($width, $height, $x, $y)
253 253
     {
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
      *
262 262
      * @param integer $angle
263 263
      *
264
-     * @return binary
264
+     * @return ImagineImagick
265 265
      */
266 266
     public function rotate($angle)
267 267
     {
@@ -279,9 +279,8 @@  discard block
 block discarded – undo
279 279
     /**
280 280
      * Strip Profiles
281 281
      *
282
-     * @param string $except
283 282
      *
284
-     * @return this
283
+     * @return ImagineImagick
285 284
      */
286 285
     public function stripProfiles()
287 286
     {
@@ -301,7 +300,7 @@  discard block
 block discarded – undo
301 300
      * @param string  $format
302 301
      * @param integer $quality
303 302
      *
304
-     * @return binary
303
+     * @return string
305 304
      */
306 305
     public function encode($format = null, $quality = null)
307 306
     {
@@ -314,7 +313,7 @@  discard block
 block discarded – undo
314 313
      * @param string  $path
315 314
      * @param integer $quality
316 315
      *
317
-     * @return binary
316
+     * @return ImagineImagick
318 317
      */
319 318
     public function save($path, $quality = null)
320 319
     {
Please login to merge, or discard this patch.
src/NwLaravel/FileStorage/Imagine.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@  discard block
 block discarded – undo
25 25
     /**
26 26
      * Opacity
27 27
      *
28
+     * @param double|null $opacity
28 29
      * @return Imagine
29 30
      */
30 31
     public function opacity($opacity);
@@ -47,7 +48,7 @@  discard block
 block discarded – undo
47 48
      * @param integer $x
48 49
      * @param integer $y
49 50
      *
50
-     * @return binary
51
+     * @return Imagine
51 52
      */
52 53
     public function crop($width, $height, $x, $y);
53 54
 
@@ -63,7 +64,6 @@  discard block
 block discarded – undo
63 64
     /**
64 65
      * Strip Profiles
65 66
      *
66
-     * @param string $except
67 67
      *
68 68
      * @return this
69 69
      */
Please login to merge, or discard this patch.
src/NwLaravel/FileStorage/ImagineGd.php 1 patch
Doc Comments   +5 added lines, -6 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
     {
@@ -158,9 +158,8 @@  discard block
 block discarded – undo
158 158
     /**
159 159
      * Strip Profiles
160 160
      *
161
-     * @param string $except
162 161
      *
163
-     * @return this
162
+     * @return ImagineGd
164 163
      * @todo Pendente para Criaçãio
165 164
      */
166 165
     public function stripProfiles()
@@ -186,7 +185,7 @@  discard block
 block discarded – undo
186 185
      * @param string  $format
187 186
      * @param integer $quality
188 187
      *
189
-     * @return binary
188
+     * @return Image
190 189
      */
191 190
     public function encode($format = null, $quality = null)
192 191
     {
@@ -199,7 +198,7 @@  discard block
 block discarded – undo
199 198
      * @param string  $path
200 199
      * @param integer $quality
201 200
      *
202
-     * @return binary
201
+     * @return ImagineGd
203 202
      */
204 203
     public function save($path, $quality = null)
205 204
     {
Please login to merge, or discard this patch.
src/NwLaravel/FileStorage/StorageManager.php 1 patch
Doc Comments   +1 added lines, -5 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
     {
@@ -366,10 +366,6 @@  discard block
 block discarded – undo
366 366
      * Watermark Image
367 367
      *
368 368
      * @param string $filename
369
-     * @param int    $width
370
-     * @param int    $height
371
-     * @param int    $x
372
-     * @param int    $y
373 369
      *
374 370
      * @return bool
375 371
      */
Please login to merge, or discard this patch.