@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | * To Fixed |
| 118 | 118 | * |
| 119 | 119 | * @param int $number Integer Number |
| 120 | - * @param float $decimal Float Decimal |
|
| 120 | + * @param integer $decimal Float Decimal |
|
| 121 | 121 | * |
| 122 | 122 | * @return float |
| 123 | 123 | */ |
@@ -478,7 +478,7 @@ discard block |
||
| 478 | 478 | * Formato numero conforme locale |
| 479 | 479 | * |
| 480 | 480 | * @param int $valor Integer Valor |
| 481 | - * @param float $decimais Float Decimais |
|
| 481 | + * @param integer $decimais Float Decimais |
|
| 482 | 482 | * |
| 483 | 483 | * @return string |
| 484 | 484 | * @example : formatNumber(8712.335) = 8.712,34 |
@@ -57,7 +57,7 @@ discard block |
||
| 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 |
||
| 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 | { |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use \Exception; |
| 6 | 6 | use Symfony\Component\HttpFoundation\File\UploadedFile; |
| 7 | 7 | use Illuminate\Contracts\Filesystem\Filesystem as Storage; |
| 8 | -use Intervention\Image\ImageManager; |
|
| 9 | 8 | use Intervention\Image\Image; |
| 10 | 9 | |
| 11 | 10 | /** |
@@ -122,7 +122,7 @@ |
||
| 122 | 122 | * |
| 123 | 123 | * @param string $method |
| 124 | 124 | * @param array $parameters |
| 125 | - * @return mixed |
|
| 125 | + * @return AbstractRepository |
|
| 126 | 126 | * |
| 127 | 127 | * @throws BadMethodCallException |
| 128 | 128 | */ |
@@ -2,8 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace NwLaravel\Locale; |
| 4 | 4 | |
| 5 | -use Locale as PhpLocale; |
|
| 6 | - |
|
| 7 | 5 | class Locale |
| 8 | 6 | { |
| 9 | 7 | public static function extensoOrdinal($number) |
@@ -80,7 +80,6 @@ discard block |
||
| 80 | 80 | /** |
| 81 | 81 | * Get Messages |
| 82 | 82 | * |
| 83 | - * @param array $messages |
|
| 84 | 83 | * |
| 85 | 84 | * @return array |
| 86 | 85 | */ |
@@ -92,7 +91,6 @@ discard block |
||
| 92 | 91 | /** |
| 93 | 92 | * Get Attributes |
| 94 | 93 | * |
| 95 | - * @param array $attributes |
|
| 96 | 94 | * |
| 97 | 95 | * @return array |
| 98 | 96 | */ |
@@ -240,6 +238,9 @@ discard block |
||
| 240 | 238 | return $rules; |
| 241 | 239 | } |
| 242 | 240 | |
| 241 | + /** |
|
| 242 | + * @return string |
|
| 243 | + */ |
|
| 243 | 244 | protected function replaceValuesRules($rule) |
| 244 | 245 | { |
| 245 | 246 | while (preg_match('/\[([A-Za-z0-9_]+)\]/', $rule, $match)) { |