Completed
Push — master ( af3ede...2a1d1e )
by Ondrej
01:47
created
src/Voter/RoleVoter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 	 */
27 27
 	public function __construct($purpose, $allowedRoles)
28 28
 	{
29
-		if (!in_array($purpose, [IVotingResult::ALLOW, IVotingResult::DENY ])) {
29
+		if (!in_array($purpose, [ IVotingResult::ALLOW, IVotingResult::DENY ])) {
30 30
 			throw new InvalidArgumentException(sprintf("Wrong voting purpose for this voter: got %s, expected one of allow, deny.", $purpose));
31 31
 		}
32 32
 
Please login to merge, or discard this patch.