Author: Theodore Brown (theodorejb)
Committer: GitHub (web-flow)
Pusher: saundefined
Date: 2024-11-21T19:20:53+03:00
Commit: Fix typo in new without parentheses description (#1153) · php/web-php@9731a07 · GitHub
Raw diff: https://github.com/php/web-php/commit/9731a07f073bf2bf8ed99279dd3b2cf89b420e98.diff
Fix typo in new without parentheses description (#1153)
Changed paths:
M releases/8.4/languages/en.php
Diff:
diff --git a/releases/8.4/languages/en.php b/releases/8.4/languages/en.php
index 2e82fb34f2..07fbb69744 100644
--- a/releases/8.4/languages/en.php
+++ b/releases/8.4/languages/en.php
@@ -22,7 +22,7 @@
'pdo_driver_specific_parsers_title' => 'PDO Driver specific SQL parsers',
'pdo_driver_specific_parsers_description' => 'New subclasses <code>Pdo\Dblib</code>, <code>Pdo\Firebird</code>, <code>Pdo\MySql</code>, <code>Pdo\Odbc</code>, and <code>Pdo\Sqlite</code> of <code>PDO</code> are available.',
'new_without_parentheses_title' => '<code>new MyClass()->method()</code> without parentheses',
- 'new_without_parentheses_description' => 'Properties and methods of a newly instantiated object can now be accessed without wrapping the <code>new</code> expression in parenthesis.',
+ 'new_without_parentheses_description' => 'Properties and methods of a newly instantiated object can now be accessed without wrapping the <code>new</code> expression in parentheses.',
'new_classes_title' => 'New Classes, Interfaces, and Functions',
'new_lazy_objects' => 'New <a href="/manual/en/language.oop5.lazy-objects.php">Lazy Objects</a>.',