| @@ -201,7 +201,7 @@ | ||
| 201 | 201 | /** | 
| 202 | 202 | * Returns whether the current mode is Frontend | 
| 203 | 203 | * | 
| 204 | - * @return string | |
| 204 | + * @return boolean | |
| 205 | 205 | */ | 
| 206 | 206 | protected function isFrontendMode() | 
| 207 | 207 |      { | 
| @@ -268,7 +268,7 @@ | ||
| 268 | 268 | * Remove accent from a string | 
| 269 | 269 | * | 
| 270 | 270 | * @see https://github.com/alixaxel/phunction/blob/master/phunction/Text.php#L297 | 
| 271 | - * @param $string | |
| 271 | + * @param string $string | |
| 272 | 272 | * @return string | 
| 273 | 273 | */ | 
| 274 | 274 | protected function unAccent($string) | 
| @@ -56,7 +56,7 @@ | ||
| 56 | 56 | * Sanitize an id | 
| 57 | 57 | * | 
| 58 | 58 | * @param string $input | 
| 59 | - * @return mixed | |
| 59 | + * @return string | |
| 60 | 60 | */ | 
| 61 | 61 | protected function sanitizeId($input) | 
| 62 | 62 |      { | 
| @@ -16,7 +16,6 @@ | ||
| 16 | 16 | |
| 17 | 17 | use Fab\Media\Module\MediaModule; | 
| 18 | 18 | use TYPO3\CMS\Core\Resource\Folder; | 
| 19 | -use TYPO3\CMS\Core\Resource\ResourceFactory; | |
| 20 | 19 | use TYPO3\CMS\Core\Resource\Utility\ListUtility; | 
| 21 | 20 | use TYPO3\CMS\Core\Utility\GeneralUtility; | 
| 22 | 21 | use Fab\Vidi\View\AbstractComponentView; | 
| @@ -79,7 +79,7 @@ discard block | ||
| 79 | 79 | } | 
| 80 | 80 | |
| 81 | 81 | /** | 
| 82 | - * @return boolean | |
| 82 | + * @return boolean|null | |
| 83 | 83 | */ | 
| 84 | 84 | protected function configureStorage() | 
| 85 | 85 |      { | 
| @@ -302,7 +302,7 @@ discard block | ||
| 302 | 302 | } | 
| 303 | 303 | |
| 304 | 304 | /** | 
| 305 | - * @return boolean | |
| 305 | + * @return integer | |
| 306 | 306 | */ | 
| 307 | 307 | protected function canBeInitializedSilently() | 
| 308 | 308 |      { | 
| @@ -82,7 +82,7 @@ | ||
| 82 | 82 | * Parses $rawValidatorOptions not containing quoted option values. | 
| 83 | 83 | * $rawValidatorOptions will be an empty string afterwards (pass by ref!). | 
| 84 | 84 | * | 
| 85 | - * @param string $rawValidatorOptions | |
| 85 | + * @param string $rawConfigurationOptions | |
| 86 | 86 | * @return array An array of optionName/optionValue pairs | 
| 87 | 87 | */ | 
| 88 | 88 | protected function parseConfigurationOptions($rawConfigurationOptions) | 
| @@ -42,7 +42,7 @@ discard block | ||
| 42 | 42 | protected $extension; | 
| 43 | 43 | |
| 44 | 44 | /** | 
| 45 | - * @return \Fab\Media\FileUpload\Base64File | |
| 45 | + * @return false|null | |
| 46 | 46 | */ | 
| 47 | 47 | public function __construct() | 
| 48 | 48 |      { | 
| @@ -116,7 +116,7 @@ discard block | ||
| 116 | 116 | /** | 
| 117 | 117 | * Get MIME type of file. | 
| 118 | 118 | * | 
| 119 | - * @return string|boolean MIME type. eg, text/html, false on error | |
| 119 | + * @return string|false MIME type. eg, text/html, false on error | |
| 120 | 120 | */ | 
| 121 | 121 | public function getMimeType() | 
| 122 | 122 |      { | 
| @@ -95,7 +95,7 @@ | ||
| 95 | 95 | /** | 
| 96 | 96 | * Get MIME type of file. | 
| 97 | 97 | * | 
| 98 | - * @return string|boolean MIME type. eg, text/html, false on error | |
| 98 | + * @return string|false MIME type. eg, text/html, false on error | |
| 99 | 99 | */ | 
| 100 | 100 | public function getMimeType() | 
| 101 | 101 |      { | 
| @@ -89,7 +89,7 @@ | ||
| 89 | 89 | * Returns true if the given picture is rotated. | 
| 90 | 90 | * | 
| 91 | 91 | * @param integer $orientation EXIF orientation | 
| 92 | - * @return integer | |
| 92 | + * @return boolean | |
| 93 | 93 | * @see http://www.impulseadventure.com/photo/exif-orientation.html | 
| 94 | 94 | */ | 
| 95 | 95 | protected function isRotated($orientation) |