diff --git a/src/Logger/AppEngineFlexHandler.php b/src/Logger/AppEngineFlexHandler.php index bcfe8d8c5004..73c048fa9a15 100644 --- a/src/Logger/AppEngineFlexHandler.php +++ b/src/Logger/AppEngineFlexHandler.php @@ -29,7 +29,7 @@ class AppEngineFlexHandler extends StreamHandler * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not. * @param int|null $filePermission Optional file permissions (default (0640) are only for owner read/write). * @param Boolean $useLocking Try to lock log file before doing any writes. - * @param resource|string $stream + * @param resource|string|null $stream */ public function __construct( $level = Logger::INFO, diff --git a/tests/Logger/AppEngineFlexHandlerTest.php b/tests/Logger/AppEngineFlexHandlerTest.php index f8ea16754b33..620596190479 100644 --- a/tests/Logger/AppEngineFlexHandlerTest.php +++ b/tests/Logger/AppEngineFlexHandlerTest.php @@ -23,7 +23,7 @@ class AppEngineFlexHandlerTest extends \PHPUnit_Framework_TestCase { private $path; - private $handler; + private $log; public function setUp() {