Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit b8511d3

Browse files
committed
Remove null coalesce operator because still need to support PHP 5.6
1 parent 1422948 commit b8511d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Exception/MiddlewareNotCallableException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ public static function fromMiddlewareName($middlewareName)
3333
*/
3434
public function toMiddlewareName()
3535
{
36-
return $this->middlewareName ?? '';
36+
return null !== $this->middlewareName ? $this->middlewareName : '';
3737
}
3838
}

0 commit comments

Comments
 (0)