Browse Source

Added float type annotation to TIME_START define

Corey Taylor 6 years ago
parent
commit
c295570ef5
1 changed files with 4 additions and 1 deletions
  1. 4 1
      config/bootstrap.php

+ 4 - 1
config/bootstrap.php

@@ -15,7 +15,10 @@
 
 use Cake\Routing\Router;
 
-define('TIME_START', microtime(true));
+/**
+ * @var float
+ */
+define('TIME_START', (float)microtime(true));
 
 require CAKE . 'basics.php';