Skip to content

Commit 8829236

Browse files
committed
[HttpKernel] Fixed the test about the availability of the logger
1 parent 23fde37 commit 8829236

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Profiler/Profiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function loadProfile($token)
8888
*/
8989
public function saveProfile(Profile $profile)
9090
{
91-
if (!$ret = $this->storage->write($profile) && null !== $this->logger) {
91+
if (!($ret = $this->storage->write($profile)) && null !== $this->logger) {
9292
$this->logger->err('Unable to store the profiler information.');
9393
}
9494

0 commit comments

Comments
 (0)