@@ -31,7 +31,7 @@ |
||
| 31 | 31 | * |
| 32 | 32 | * @var array |
| 33 | 33 | */ |
| 34 | - public static $crypto_enabled = []; |
|
| 34 | + public static $crypto_enabled = [ ]; |
|
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | 37 | * Load all enabled cryptocurrencies. |
@@ -83,21 +83,21 @@ discard block |
||
| 83 | 83 | * |
| 84 | 84 | * @var array |
| 85 | 85 | */ |
| 86 | - protected $website = []; |
|
| 86 | + protected $website = [ ]; |
|
| 87 | 87 | |
| 88 | 88 | /** |
| 89 | 89 | * Cryptocurrency explorer urls. |
| 90 | 90 | * |
| 91 | 91 | * @var array |
| 92 | 92 | */ |
| 93 | - protected $explorer = []; |
|
| 93 | + protected $explorer = [ ]; |
|
| 94 | 94 | |
| 95 | 95 | /** |
| 96 | 96 | * Cryptocurrency sourcecode url. |
| 97 | 97 | * |
| 98 | 98 | * @var array |
| 99 | 99 | */ |
| 100 | - protected $source_code = []; |
|
| 100 | + protected $source_code = [ ]; |
|
| 101 | 101 | |
| 102 | 102 | /** |
| 103 | 103 | * {@inheritdoc} |
@@ -242,6 +242,6 @@ discard block |
||
| 242 | 242 | throw new CryptoNotEnabledException(sprintf('The cryptocurrency ("%s") you have selected is not enabled in your configuration!', $name)); |
| 243 | 243 | } |
| 244 | 244 | |
| 245 | - return call_user_func([new $class_name($name), 'build']); |
|
| 245 | + return call_user_func([ new $class_name($name), 'build' ]); |
|
| 246 | 246 | } |
| 247 | 247 | } |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | // Initialize new CryptocurrencyCollection() |
| 28 | 28 | $crypto_coll = new \CryptoTech\Cryptocurrency\CryptocurrencyCollection(); |
| 29 | 29 | // Load the array with all cryptocurrencies enabled |
| 30 | -$crypto_enabled = (include 'config/cryptocurrency.php')['crypto_enabled']; |
|
| 30 | +$crypto_enabled = (include 'config/cryptocurrency.php')[ 'crypto_enabled' ]; |
|
| 31 | 31 | |
| 32 | 32 | // Inject the enabled cryptocurrencies' array in the collection |
| 33 | 33 | $crypto_coll->loadEnabledCrypto($crypto_enabled); |