Skip to content

Commit 263102e

Browse files
committed
coding style
1 parent a91446f commit 263102e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/EnumSet.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ public function union(EnumSet $other)
245245
foreach (func_get_args() as $other) {
246246
if (!$other instanceof self || $this->enumeration !== $other->enumeration) {
247247
throw new InvalidArgumentException(sprintf(
248-
"Others should be an instance of %s of the same enumeration as this %s",
248+
'Others should be an instance of %s of the same enumeration as this %s',
249249
__CLASS__,
250250
$this->enumeration
251251
));
@@ -270,7 +270,7 @@ public function intersect(EnumSet $other)
270270
foreach (func_get_args() as $other) {
271271
if (!$other instanceof self || $this->enumeration !== $other->enumeration) {
272272
throw new InvalidArgumentException(sprintf(
273-
"Others should be an instance of %s of the same enumeration as this %s",
273+
'Others should be an instance of %s of the same enumeration as this %s',
274274
__CLASS__,
275275
$this->enumeration
276276
));
@@ -295,7 +295,7 @@ public function diff(EnumSet $other)
295295
foreach (func_get_args() as $other) {
296296
if (!$other instanceof self || $this->enumeration !== $other->enumeration) {
297297
throw new InvalidArgumentException(sprintf(
298-
"Others should be an instance of %s of the same enumeration as this %s",
298+
'Others should be an instance of %s of the same enumeration as this %s',
299299
__CLASS__,
300300
$this->enumeration
301301
));
@@ -320,7 +320,7 @@ public function symDiff(EnumSet $other)
320320
foreach (func_get_args() as $other) {
321321
if (!$other instanceof self || $this->enumeration !== $other->enumeration) {
322322
throw new InvalidArgumentException(sprintf(
323-
"Others should be an instance of %s of the same enumeration as this %s",
323+
'Others should be an instance of %s of the same enumeration as this %s',
324324
__CLASS__,
325325
$this->enumeration
326326
));

0 commit comments

Comments
 (0)