← All changes
|
includes/sdk/google/monolog/monolog/src/Monolog/Handler/WebRequestRecognizerTrait.php
+2
-3
1.2.13
→
1.4.2
View file →
| @@ -8,17 +8,16 @@ | ||
| 8 | 8 | * |
| 9 | 9 | * For the full copyright and license information, please view the LICENSE |
| 10 | 10 | * file that was distributed with this source code. |
| 11 | 11 | */ |
| 12 | -namespace Dudlewebs\WPMCS\Monolog\Handler; | |
| 12 | +namespace Dudlewebs\WPMCS\GCP\Monolog\Handler; | |
| 13 | 13 | |
| 14 | 14 | trait WebRequestRecognizerTrait |
| 15 | 15 | { |
| 16 | 16 | /** |
| 17 | 17 | * Checks if PHP's serving a web request |
| 18 | - * @return bool | |
| 19 | 18 | */ |
| 20 | - protected function isWebRequest(): bool | |
| 19 | + protected function isWebRequest() : bool | |
| 21 | 20 | { |
| 22 | 21 | return 'cli' !== \PHP_SAPI && 'phpdbg' !== \PHP_SAPI; |
| 23 | 22 | } |
| 24 | 23 | } |