Completed
Push — master ( 7ad84d...d34fd3 )
by Renato
05:15
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   +3 added lines, -3 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
     {
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
      * @param string  $format
156 156
      * @param integer $quality
157 157
      *
158
-     * @return binary
158
+     * @return Image
159 159
      */
160 160
     public function encode($format = null, $quality = null)
161 161
     {
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
      * @param string  $path
169 169
      * @param integer $quality
170 170
      *
171
-     * @return binary
171
+     * @return ImagineGd
172 172
      */
173 173
     public function save($path, $quality = null)
174 174
     {
Please login to merge, or discard this patch.
src/NwLaravel/FileStorage/ImagineImagick.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
      * @param integer $x
207 207
      * @param integer $y
208 208
      *
209
-     * @return binary
209
+     * @return Imagine
210 210
      */
211 211
     public function crop($width, $height, $x, $y)
212 212
     {
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
      * @param string  $format
222 222
      * @param integer $quality
223 223
      *
224
-     * @return binary
224
+     * @return string
225 225
      */
226 226
     public function encode($format = null, $quality = null)
227 227
     {
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
      * @param string  $path
235 235
      * @param integer $quality
236 236
      *
237
-     * @return binary
237
+     * @return ImagineImagick
238 238
      */
239 239
     public function save($path, $quality = null)
240 240
     {
Please login to merge, or discard this patch.