mirror of
https://github.com/flextype/flextype.git
synced 2025-08-08 06:06:45 +02:00
feat(core): Moving to PHP 7.4.0 #524
This commit is contained in:
@@ -33,7 +33,7 @@ class Entries
|
||||
* @var array
|
||||
* @access private
|
||||
*/
|
||||
private $storage = [
|
||||
private array $storage = [
|
||||
'fetch' => [
|
||||
'id' => '',
|
||||
'data' => [],
|
||||
|
@@ -31,7 +31,7 @@ final class Flextype extends App
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
private static $instances = [];
|
||||
private static array $instances = [];
|
||||
|
||||
/**
|
||||
* Flextype should not be cloneable.
|
||||
|
@@ -34,7 +34,7 @@ class Plugins
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
private $locales = [];
|
||||
private array $locales = [];
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
|
@@ -8,7 +8,7 @@ $flextypeManifestFilePath = ROOT_DIR . '/src/flextype/flextype.yaml';
|
||||
$defaultFlextypeSettingsFilePath = ROOT_DIR . '/src/flextype/settings.yaml';
|
||||
$customFlextypeSettingsFilePath = PATH['project'] . '/config/flextype/settings.yaml';
|
||||
$preflightFlextypePath = PATH['tmp'] . '/preflight/flextype/';
|
||||
$customFlextypeSettingsPath = PATH['project'] . '/config/flextype/';
|
||||
$customFlextypeSettingsPath = PATH['project'] . '/config/flextype/';
|
||||
|
||||
! filesystem()->directory($preflightFlextypePath)->exists() and filesystem()->directory($preflightFlextypePath)->create(0755, true);
|
||||
! filesystem()->directory($customFlextypeSettingsPath)->exists() and filesystem()->directory($customFlextypeSettingsPath)->create(0755, true);
|
||||
|
Reference in New Issue
Block a user