@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @license MIT |
|
| 4 | - * @author Igor Sorokin <[email protected]> |
|
| 5 | - */ |
|
| 3 | + * @license MIT |
|
| 4 | + * @author Igor Sorokin <[email protected]> |
|
| 5 | + */ |
|
| 6 | 6 | namespace Dspbee\Bundle\Common\Bag; |
| 7 | 7 | |
| 8 | 8 | /** |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | */ |
| 57 | 57 | public function fetch($key, $default = null) |
| 58 | 58 | { |
| 59 | - return $_POST[$key] ?? $default; |
|
| 59 | + return $_POST[$key] ? ? $default; |
|
| 60 | 60 | } |
| 61 | 61 | |
| 62 | 62 | /** |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @license MIT |
|
| 4 | - * @author Igor Sorokin <[email protected]> |
|
| 5 | - */ |
|
| 3 | + * @license MIT |
|
| 4 | + * @author Igor Sorokin <[email protected]> |
|
| 5 | + */ |
|
| 6 | 6 | namespace Dspbee\Bundle\Common\Bag; |
| 7 | 7 | |
| 8 | 8 | /** |
@@ -59,7 +59,7 @@ |
||
| 59 | 59 | */ |
| 60 | 60 | public function fetch($key, $default = null) |
| 61 | 61 | { |
| 62 | - return $this->bag[$key] ?? $default; |
|
| 62 | + return $this->bag[$key] ? ? $default; |
|
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | /** |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @license MIT |
|
| 4 | - * @author Igor Sorokin <[email protected]> |
|
| 5 | - */ |
|
| 3 | + * @license MIT |
|
| 4 | + * @author Igor Sorokin <[email protected]> |
|
| 5 | + */ |
|
| 6 | 6 | namespace Dspbee\Bundle\Common\File\Exception; |
| 7 | 7 | |
| 8 | 8 | /** |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @license MIT |
|
| 4 | - * @author Igor Sorokin <[email protected]> |
|
| 5 | - */ |
|
| 3 | + * @license MIT |
|
| 4 | + * @author Igor Sorokin <[email protected]> |
|
| 5 | + */ |
|
| 6 | 6 | namespace Dspbee\Bundle\Common\File\Exception; |
| 7 | 7 | |
| 8 | 8 | /** |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @license MIT |
|
| 4 | - * @author Igor Sorokin <[email protected]> |
|
| 5 | - */ |
|
| 3 | + * @license MIT |
|
| 4 | + * @author Igor Sorokin <[email protected]> |
|
| 5 | + */ |
|
| 6 | 6 | namespace Dspbee\Bundle\Common\File\MimeType; |
| 7 | 7 | |
| 8 | 8 | use Dspbee\Bundle\Common\File\Exception\FileNotFoundException; |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @license MIT |
|
| 4 | - * @author Igor Sorokin <[email protected]> |
|
| 5 | - */ |
|
| 3 | + * @license MIT |
|
| 4 | + * @author Igor Sorokin <[email protected]> |
|
| 5 | + */ |
|
| 6 | 6 | namespace Dspbee\Bundle\Common\File\MimeType; |
| 7 | 7 | |
| 8 | 8 | use Dspbee\Bundle\Common\File\Exception\FileNotFoundException; |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @license MIT |
|
| 4 | - * @author Igor Sorokin <[email protected]> |
|
| 5 | - */ |
|
| 3 | + * @license MIT |
|
| 4 | + * @author Igor Sorokin <[email protected]> |
|
| 5 | + */ |
|
| 6 | 6 | namespace Dspbee\Bundle\Common\File\MimeType; |
| 7 | 7 | |
| 8 | 8 | use Dspbee\Bundle\Common\File\Exception\FileNotFoundException; |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @license MIT |
|
| 4 | - * @author Igor Sorokin <[email protected]> |
|
| 5 | - */ |
|
| 3 | + * @license MIT |
|
| 4 | + * @author Igor Sorokin <[email protected]> |
|
| 5 | + */ |
|
| 6 | 6 | namespace Dspbee\Bundle\Common\File; |
| 7 | 7 | |
| 8 | 8 | /** |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @license MIT |
|
| 4 | - * @author Igor Sorokin <[email protected]> |
|
| 5 | - */ |
|
| 3 | + * @license MIT |
|
| 4 | + * @author Igor Sorokin <[email protected]> |
|
| 5 | + */ |
|
| 6 | 6 | namespace Dspbee\Bundle\Common\File\Extension; |
| 7 | 7 | |
| 8 | 8 | /** |