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

Commit

Permalink
Remove null coalesce operator because still need to support PHP 5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
asgrim committed Feb 25, 2017
1 parent 1422948 commit b8511d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Exception/MiddlewareNotCallableException.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ public static function fromMiddlewareName($middlewareName)
*/
public function toMiddlewareName()
{
return $this->middlewareName ?? '';
return null !== $this->middlewareName ? $this->middlewareName : '';
}
}

0 comments on commit b8511d3

Please sign in to comment.