Skip to content

Commit e1b01b5

Browse files
committed
Remove scalar typehints for PHP 5.6 compatibilty
1 parent b1c0659 commit e1b01b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ContextLogger.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function __construct(LoggerInterface $logger, array $context = [])
2828
*
2929
* @return void
3030
*/
31-
public function addContext(string $name, $value)
31+
public function addContext($name, $value)
3232
{
3333
$this->context[$name] = $value;
3434
}
@@ -38,7 +38,7 @@ public function addContext(string $name, $value)
3838
*
3939
* @return void
4040
*/
41-
public function removeContext(string $name)
41+
public function removeContext($name)
4242
{
4343
unset($this->context[$name]);
4444
}

0 commit comments

Comments
 (0)