Skip to content

Commit 6c0c2f8

Browse files
committed
Spell "triggering" properly
As a side effect, the property name matches the one in the declaration, which was correct.
1 parent fa638c0 commit 6c0c2f8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

DeprecationErrorHandler/Deprecation.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function __construct($message, array $trace, $file)
7676
// No-op
7777
}
7878
$line = $trace[$i];
79-
$this->trigerringFilePathType = $this->getPathType($file);
79+
$this->triggeringFilePathType = $this->getPathType($file);
8080
if (isset($line['object']) || isset($line['class'])) {
8181
if (isset($line['class']) && 0 === strpos($line['class'], SymfonyTestsListenerFor::class)) {
8282
$parsedMsg = unserialize($this->message);
@@ -88,7 +88,7 @@ public function __construct($message, array $trace, $file)
8888
// then we need to use the serialized information to determine
8989
// if the error has been triggered from vendor code.
9090
if (isset($parsedMsg['triggering_file'])) {
91-
$this->trigerringFilePathType = $this->getPathType($parsedMsg['triggering_file']);
91+
$this->triggeringFilePathType = $this->getPathType($parsedMsg['triggering_file']);
9292
}
9393

9494
return;
@@ -177,10 +177,10 @@ public function isLegacy($utilPrefix)
177177
*/
178178
public function getType()
179179
{
180-
if (self::PATH_TYPE_SELF === $this->trigerringFilePathType) {
180+
if (self::PATH_TYPE_SELF === $this->triggeringFilePathType) {
181181
return self::TYPE_SELF;
182182
}
183-
if (self::PATH_TYPE_UNDETERMINED === $this->trigerringFilePathType) {
183+
if (self::PATH_TYPE_UNDETERMINED === $this->triggeringFilePathType) {
184184
return self::TYPE_UNDETERMINED;
185185
}
186186
$erroringFile = $erroringPackage = null;

0 commit comments

Comments
 (0)