Completed
Push — master ( 9ffa4a...fe64de )
by
unknown
05:54
created
src/ConstraintCheck/Message/ViolationMessage.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -31,21 +31,21 @@
 block discarded – undo
31 31
 	public function __construct(
32 32
 		$messageKey
33 33
 	) {
34
-		if ( strpos( $messageKey, self::MESSAGE_KEY_PREFIX ) !== 0 ) {
34
+		if (strpos($messageKey, self::MESSAGE_KEY_PREFIX) !== 0) {
35 35
 			throw new InvalidArgumentException(
36
-				'ViolationMessage key ⧼' .
37
-				$messageKey .
38
-				'⧽ should start with "' .
39
-				self::MESSAGE_KEY_PREFIX .
36
+				'ViolationMessage key ⧼'.
37
+				$messageKey.
38
+				'⧽ should start with "'.
39
+				self::MESSAGE_KEY_PREFIX.
40 40
 				'".'
41 41
 			);
42 42
 		}
43 43
 
44
-		$this->messageKeySuffix = substr( $messageKey, strlen( self::MESSAGE_KEY_PREFIX ) );
44
+		$this->messageKeySuffix = substr($messageKey, strlen(self::MESSAGE_KEY_PREFIX));
45 45
 	}
46 46
 
47 47
 	public function getMessageKey() {
48
-		return self::MESSAGE_KEY_PREFIX . $this->messageKeySuffix;
48
+		return self::MESSAGE_KEY_PREFIX.$this->messageKeySuffix;
49 49
 	}
50 50
 
51 51
 }
Please login to merge, or discard this patch.