Skip to content
This repository was archived by the owner on Feb 6, 2020. It is now read-only.

Commit a27bafd

Browse files
committed
#83 - grammar fixes
1 parent 5941529 commit a27bafd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Exception/CyclicAliasException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function ($alias) use ($aliases) {
3333
}
3434

3535
return new self(sprintf(
36-
"A cycle was detected within the provided aliases:\n\n%s"
36+
"Cycles were detected within the provided aliases:\n\n%s"
3737
. "\n\nThe cycle was detected in the following alias map:\n\n%s",
3838
self::printCycles(self::deDuplicateDetectedCycles($detectedCycles)),
3939
self::printReferencesMap($aliases)

test/Exception/CyclicAliasExceptionTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function aliasesProvider()
9090
'b' => 'a',
9191
'a' => 'b',
9292
],
93-
'A cycle was detected within the provided aliases:
93+
'Cycles were detected within the provided aliases:
9494
9595
[
9696
"b" => "a" => "b"
@@ -109,7 +109,7 @@ public function aliasesProvider()
109109
'c' => 'b',
110110
'a' => 'c',
111111
],
112-
'A cycle was detected within the provided aliases:
112+
'Cycles were detected within the provided aliases:
113113
114114
[
115115
"b" => "a" => "c" => "b"
@@ -129,7 +129,7 @@ public function aliasesProvider()
129129
'a' => 'b',
130130
'd' => 'c',
131131
],
132-
'A cycle was detected within the provided aliases:
132+
'Cycles were detected within the provided aliases:
133133
134134
[
135135
"b" => "a" => "b"
@@ -149,7 +149,7 @@ public function aliasesProvider()
149149
'a' => 'b',
150150
'c' => 'a',
151151
],
152-
'A cycle was detected within the provided aliases:
152+
'Cycles were detected within the provided aliases:
153153
154154
[
155155
"b" => "a" => "b"

0 commit comments

Comments
 (0)