1
0
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:
Awilum
2020-12-27 19:35:22 +03:00
parent 1e981dc058
commit 6b6812aa00
4 changed files with 4 additions and 4 deletions

View File

@@ -33,7 +33,7 @@ class Entries
* @var array
* @access private
*/
private $storage = [
private array $storage = [
'fetch' => [
'id' => '',
'data' => [],

View File

@@ -31,7 +31,7 @@ final class Flextype extends App
*
* @var array
*/
private static $instances = [];
private static array $instances = [];
/**
* Flextype should not be cloneable.

View File

@@ -34,7 +34,7 @@ class Plugins
*
* @var array
*/
private $locales = [];
private array $locales = [];
/**
* Constructor

View File

@@ -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);