Skip to content
Snippets Groups Projects
Commit 698dd756 authored by Matthias Adrowski's avatar Matthias Adrowski
Browse files

[TASK] Fix Codestyle

parent 4ca6b288
No related branches found
No related tags found
No related merge requests found
...@@ -34,8 +34,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; ...@@ -34,8 +34,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
/** /**
* Uploads for the applicationForm * Uploads for the applicationForm
*/ */
class UploadController extends AbstractAjaxController { class UploadController extends AbstractAjaxController {
public const TYPO3_TMP_FOLDER = '/JobApplication/temp/'; public const TYPO3_TMP_FOLDER = '/JobApplication/temp/';
/** /**
...@@ -91,7 +90,7 @@ class UploadController extends AbstractAjaxController { ...@@ -91,7 +90,7 @@ class UploadController extends AbstractAjaxController {
* *
* @return void * @return void
*/ */
private function handleAnyDropZoneUpload(){ private function handleAnyDropZoneUpload() {
$success = FALSE; $success = FALSE;
$filePath = ''; $filePath = '';
if (\count($_FILES) > 0) { if (\count($_FILES) > 0) {
......
...@@ -746,7 +746,7 @@ class JoblistController extends ActionController { ...@@ -746,7 +746,7 @@ class JoblistController extends ActionController {
continue; continue;
} }
} else { } else {
throw new TypeConverterException(LocalizationUtility::translate('error.TypeConverterException.missing.'.$singleFilePostKey, 'sg_jobs'), 1399312430); throw new TypeConverterException(LocalizationUtility::translate('error.TypeConverterException.missing.' . $singleFilePostKey, 'sg_jobs'), 1399312430);
} }
} }
} }
......
...@@ -294,7 +294,7 @@ class FileAndFolderService implements SingletonInterface { ...@@ -294,7 +294,7 @@ class FileAndFolderService implements SingletonInterface {
$path = $folder->getPublicUrl(); $path = $folder->getPublicUrl();
$file = $path . '.htaccess'; $file = $path . '.htaccess';
$absolutePublicPath = Environment::getPublicPath(); $absolutePublicPath = Environment::getPublicPath();
$file = $absolutePublicPath.$file; $file = $absolutePublicPath . $file;
if (!\file_exists($file)) { if (!\file_exists($file)) {
$current = ''; $current = '';
......
...@@ -64,6 +64,6 @@ class CompanyLabelViewHelper extends AbstractViewHelper { ...@@ -64,6 +64,6 @@ class CompanyLabelViewHelper extends AbstractViewHelper {
->execute() ->execute()
->fetchAssociative(); ->fetchAssociative();
return $firstJob ? $firstJob['name'].', '.$firstJob['city']: ''; return $firstJob ? $firstJob['name'] . ', ' . $firstJob['city'] : '';
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment