Skip to content

Commit

Permalink
use strict comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
mbacodes committed Dec 9, 2015
1 parent 48d3701 commit b3a9a08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Validation/Domain.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function __construct($domain)
*/
public function validate(Request $request)
{
return ! is_null($this->domain) && $request->getHost() == $this->getStrippedDomain();
return ! is_null($this->domain) && $request->getHost() === $this->getStrippedDomain();
}

/**
Expand Down

0 comments on commit b3a9a08

Please sign in to comment.