We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 621dbaf + 2833a54 commit d19fe5dCopy full SHA for d19fe5d
composer.json
@@ -12,7 +12,7 @@
12
],
13
"autoload": {
14
"psr-4": { "React\\Promise\\Timer\\": "src/" },
15
- "files": [ "src/functions.php" ]
+ "files": [ "src/functions_include.php" ]
16
},
17
"autoload-dev": {
18
"psr-4": { "React\\Tests\\Promise\\Timer\\": "tests/" }
src/functions_include.php
@@ -0,0 +1,7 @@
1
+<?php
2
+
3
+namespace React\Promise\Timer;
4
5
+if (!function_exists('React\\Promise\\Timer\\timeout')) {
6
+ require __DIR__ . '/functions.php';
7
+}
0 commit comments