aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2017-03-07 16:55:13 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2017-03-07 16:55:13 +0100
commit6aff0f4c29174583b0a683f789dafe39493812b9 (patch)
tree8b51f5d10cb66eb44155847480cce4b9530d0f9f
parent6d1228bd55164aae3138896fd6b3909f4a3b9e54 (diff)
downloadConsistency-6aff0f4c29174583b0a683f789dafe39493812b9.zip
Consistency-6aff0f4c29174583b0a683f789dafe39493812b9.tar.gz
Consistency-6aff0f4c29174583b0a683f789dafe39493812b9.tar.bz2
Prelude: Remove the `(unset)` cast.
This cast has been deprecated in PHP 7.2.
-rw-r--r--Prelude.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Prelude.php b/Prelude.php
index dbde243..e7d8f77 100644
--- a/Prelude.php
+++ b/Prelude.php
@@ -70,7 +70,7 @@ $define('PHP_INT_MIN', ~PHP_INT_MAX);
$define('PHP_FLOAT_MIN', (float) PHP_INT_MIN);
$define('PHP_FLOAT_MAX', (float) PHP_INT_MAX);
$define('π', M_PI);
-$define('nil', (unset) null);
+$define('nil', null);
$define('_public', 1);
$define('_protected', 2);
$define('_private', 4);