src/DataUriUpload.php
public function getAllowedMimeTypesAsHumanString($lastSeparator = null) {
		$separator = ', ';

		$str = \implode($separator, $this->getAllowedMimeTypesAsArray());

		if ($lastSeparator !== null) {
			$lastSeparatorPosition = \strrpos($str, $separator);

			if ($lastSeparatorPosition !== false) {
				$str = \substr_replace($str, $lastSeparator, $lastSeparatorPosition, \strlen($separator));
			}
		}

		return $str;
	}
public function getAllowedMimeTypesAsHumanString($lastSeparator = null) {
		$separator = ', ';

		$str = \implode($separator, $this->getAllowedMimeTypesAsArray());

		if ($lastSeparator !== null) {
			$lastSeparatorPosition = \strrpos($str, $separator);

			if ($lastSeparatorPosition !== false) {
				$str = \substr_replace($str, $lastSeparator, $lastSeparatorPosition, \strlen($separator));
			}
		}

		return $str;
	}
public function getAllowedMimeTypesAsHumanString ( $ lastSeparator = null ) { $ separator = ', ' ; $ str = \ implode ( $ separator , $ this -> getAllowedMimeTypesAsArray ( ) ) ; if ( $ lastSeparator !== null ) { $ lastSeparatorPosition = \ strrpos ( $ str , $ separator ) ; if ( $ lastSeparatorPosition !== false ) { $ str = \ substr_replace ( $ str , $ lastSeparator , $ lastSeparatorPosition , \ strlen ( $ separator ) ) ; } } return $ str ; }
Returns the list of permitted MIME types as a human-readable string

@param string|null $lastSeparator (optional) the last separator as an alternative to the comma, e.g. ` or `
@return string
Returns the list of permitted MIME types as a human - readable string