Commit a6a312d8 authored by Tino Goratsch's avatar Tino Goratsch

Fix the code style after the PHP-CS-Fixer update

parent 6bff385c
Pipeline #42276974 passed with stages
in 3 minutes and 7 seconds
......@@ -22,7 +22,7 @@ interface ColumnRendererInterface
public function setIdentifier(string $identifier);
/**
* @return null|string
* @return string|null
*/
public function getPrimaryKey(): ?string;
......
......@@ -228,7 +228,7 @@ class Input
}
/**
* @return null|string
* @return string|null
*/
public function getResourcePathEdit(): ?string
{
......@@ -236,7 +236,7 @@ class Input
}
/**
* @return null|string
* @return string|null
*/
public function getResourcePathDelete(): ?string
{
......@@ -244,7 +244,7 @@ class Input
}
/**
* @return null|string
* @return string|null
*/
public function getIdentifier(): ?string
{
......
......@@ -169,7 +169,7 @@ interface RequestInterface
public function setHomepage($homepage);
/**
* @param null|string $pathInfo
* @param string|null $pathInfo
*/
public function setPathInfo(?string $pathInfo = null): void;
}
......@@ -16,11 +16,11 @@ class CountryList
*/
private $translator;
/**
* @var null|array
* @var array|null
*/
private $countries;
/**
* @var null|array
* @var array|null
*/
private $supportedLocales;
......
......@@ -52,7 +52,7 @@ abstract class AbstractModel
/**
* @param array $rawData
* @param null|int $entryId
* @param int|null $entryId
*
* @return bool|int
*
......
......@@ -45,7 +45,7 @@ trait DuplicationAwareTrait
/**
* @param array $rawData
* @param null|int $entryId
* @param int|null $entryId
*
* @return int|bool
*/
......
......@@ -46,7 +46,7 @@ class ModelSaveEvent extends Event
* @param string $moduleName
* @param array $filteredData
* @param array $rawData
* @param int|null|array $entryId
* @param int|array|null $entryId
* @param bool $isNewEntry
* @param bool $hasDataChanges
* @param string $tableName
......@@ -94,7 +94,7 @@ class ModelSaveEvent extends Event
}
/**
* @return int|null|array
* @return int|array|null
*/
public function getEntryId()
{
......
......@@ -68,7 +68,7 @@ class Action
/**
* @param callable $callback
* @param null|string $path
* @param string|null $path
*
* @return string|array|\Symfony\Component\HttpFoundation\JsonResponse|\Symfony\Component\HttpFoundation\RedirectResponse
*
......@@ -186,7 +186,7 @@ class Action
/**
* @param callable $callback
* @param null|string $path
* @param string|null $path
*
* @return string|array|\Symfony\Component\HttpFoundation\JsonResponse|\Symfony\Component\HttpFoundation\RedirectResponse
*
......@@ -206,7 +206,7 @@ class Action
/**
* @param callable $callback
* @param null|string $path
* @param string|null $path
*
* @return string|array|\Symfony\Component\HttpFoundation\JsonResponse|\Symfony\Component\HttpFoundation\RedirectResponse
*
......@@ -224,7 +224,7 @@ class Action
/**
* @param callable $callback
* @param null|string $path
* @param string|null $path
*
* @return string|array|\Symfony\Component\HttpFoundation\JsonResponse|\Symfony\Component\HttpFoundation\RedirectResponse
*
......@@ -242,7 +242,7 @@ class Action
/**
* @param callable $callback
* @param null|string $path
* @param string|null $path
*
* @return array|string|JsonResponse|RedirectResponse
*
......@@ -263,7 +263,7 @@ class Action
/**
* @param bool|int $result
* @param string $phrase
* @param null|string $path
* @param string|null $path
*
* @return \Symfony\Component\HttpFoundation\JsonResponse|\Symfony\Component\HttpFoundation\RedirectResponse
*
......@@ -282,7 +282,7 @@ class Action
/**
* @param bool|int $result
* @param string $translatedText
* @param null|string $path
* @param string|null $path
*
* @return \Symfony\Component\HttpFoundation\JsonResponse|\Symfony\Component\HttpFoundation\RedirectResponse
*/
......
......@@ -102,7 +102,7 @@ class Output
}
/**
* @return null|string
* @return string|null
*/
public function getDestFile(): ?string
{
......
......@@ -12,7 +12,7 @@ use ACP3\Core;
class AdminFormValidation extends Core\Validation\AbstractFormValidation
{
/**
* @var null|array
* @var array|null
*/
protected $file;
/**
......
......@@ -18,7 +18,7 @@ class AdminFormValidation extends Core\Validation\AbstractFormValidation
*/
protected $uriAlias = '';
/**
* @var null|array
* @var array|null
*/
protected $file;
......
......@@ -101,7 +101,7 @@ class Cache extends Core\Modules\AbstractCacheStorage
/**
* @param string $fileName
* @param null|string $action
* @param string|null $action
*
* @return \ACP3\Core\Picture\Output
*
......
......@@ -58,7 +58,7 @@ class AccountStatusColumnRenderer extends AbstractColumnRenderer
/**
* @param array $column
* @param array $dbResultRow
* @param null|string $dbValue
* @param string|null $dbValue
*
* @return string
*/
......
......@@ -89,7 +89,7 @@ abstract class AbstractFormAction extends AbstractFrontendAction
* @param int $moduleId
* @param int $privilegeId
* @param int $value
* @param null|int $defaultValue
* @param int|null $defaultValue
*
* @return string
*/
......
......@@ -39,7 +39,7 @@ class MetaStatements
protected $seoCache;
/**
* @var null|array
* @var array|null
*/
protected $aliasesCache;
/**
......
......@@ -4,6 +4,7 @@
* Copyright (c) by the ACP3 Developers.
* See the LICENSE file at the top-level module directory for licensing details.
*/
\define('ACP3_ROOT_DIR', \realpath(__DIR__ . '/../') . '/');
require ACP3_ROOT_DIR . 'vendor/autoload.php';
......
......@@ -4,6 +4,7 @@
* Copyright (c) by the ACP3 Developers.
* See the LICENSE file at the top-level module directory for licensing details.
*/
\define('ACP3_ROOT_DIR', \realpath(__DIR__) . '/');
require ACP3_ROOT_DIR . 'vendor/autoload.php';
......
......@@ -4,6 +4,7 @@
* Copyright (c) by the ACP3 Developers.
* See the LICENSE file at the top-level module directory for licensing details.
*/
\define('ACP3_ROOT_DIR', \realpath(__DIR__ . '/../') . '/');
require ACP3_ROOT_DIR . 'vendor/autoload.php';
......
......@@ -4,6 +4,7 @@
* Copyright (c) by the ACP3 Developers.
* See the LICENSE file at the top-level module directory for licensing details.
*/
\define('ACP3_ROOT_DIR', \realpath(__DIR__ . '/../') . '/');
require ACP3_ROOT_DIR . 'vendor/autoload.php';
......
......@@ -4,6 +4,7 @@
* Copyright (c) by the ACP3 Developers.
* See the LICENSE file at the top-level module directory for licensing details.
*/
require_once __DIR__ . '/../vendor/autoload.php';
\define('ACP3_ROOT_DIR', \realpath(__DIR__ . '/../') . '/');
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment