Completed
Push — master ( ef921c...5a6d03 )
by Renato
10:58
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/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   +5 added lines, -6 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
     {
@@ -257,9 +257,8 @@  discard block
 block discarded – undo
257 257
     /**
258 258
      * Strip Profiles
259 259
      *
260
-     * @param string $except
261 260
      *
262
-     * @return this
261
+     * @return ImagineImagick
263 262
      */
264 263
     public function stripProfiles()
265 264
     {
@@ -279,7 +278,7 @@  discard block
 block discarded – undo
279 278
      * @param string  $format
280 279
      * @param integer $quality
281 280
      *
282
-     * @return binary
281
+     * @return string
283 282
      */
284 283
     public function encode($format = null, $quality = null)
285 284
     {
@@ -292,7 +291,7 @@  discard block
 block discarded – undo
292 291
      * @param string  $path
293 292
      * @param integer $quality
294 293
      *
295
-     * @return binary
294
+     * @return ImagineImagick
296 295
      */
297 296
     public function save($path, $quality = null)
298 297
     {
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.