Skip to content

Commit d034997

Browse files
committed
use American English in code example
1 parent 585683c commit d034997

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/property_info.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,15 +231,15 @@ and plural property names::
231231

232232
class SomeClass
233233
{
234-
private $analyses;
234+
private $analyzes;
235235
private $feet;
236236

237-
public function addAnalyse(Dummy $analyse)
237+
public function addAnalyze(Dummy $analyze)
238238
{
239239
// ...
240240
}
241241

242-
public function removeAnalyse(Dummy $analyse)
242+
public function removeAnalyze(Dummy $analyze)
243243
{
244244
// ...
245245
}
@@ -256,7 +256,7 @@ and plural property names::
256256
}
257257

258258
// to be writable, both the adder and the remover methods must be defined
259-
$propertyInfo->isWritable(SomeClass::class, 'analyses'); // returns true
259+
$propertyInfo->isWritable(SomeClass::class, 'analyzes'); // returns true
260260
$propertyInfo->isWritable(SomeClass::class, 'feet'); // returns true
261261

262262
.. versionadded:: 3.2

0 commit comments

Comments
 (0)