-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix missing and wrong variable names.
- Loading branch information
Showing
1 changed file
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
* | ||
* This source file is released under GPLv3 license by copyright holders. | ||
* Please see LICENSE file for more specific licensing terms. | ||
* @copyright 2019 (c) Lamia Oy | ||
* @copyright 2019-2020 (c) Lamia Oy | ||
* @author Niko Granö <[email protected]> | ||
* | ||
*/ | ||
|
@@ -30,7 +30,7 @@ public function launch() | |
|
||
public function catchException(\Magento\Framework\App\Bootstrap $bootstrap, \Exception $exception) | ||
{ | ||
// Just pass thye control to Bootstrap. | ||
// Just pass to have control to Bootstrap. | ||
return false; | ||
} | ||
} | ||
|
@@ -264,7 +264,7 @@ final class Scanner { | |
public function __construct( | ||
Version $version | ||
) { | ||
$this->version = $version; | ||
$this->moduleVersion = $version; | ||
} | ||
|
||
/** | ||
|
@@ -293,7 +293,7 @@ public function getEntries(): array | |
} | ||
$this->entries[] = new Entry( | ||
(string)$data[0], | ||
$this->version->getModuleVersion((string)$data[0]), | ||
$this->moduleVersion->getModuleVersion((string)$data[0]), | ||
(string)$data[1], | ||
(string)$data[2], | ||
$this->getFrontnameFromRoute((string)$data[2]), | ||
|
@@ -404,6 +404,8 @@ final class AuditFailedException extends \Exception | |
|
||
public function __construct(Entry $entry, int $type, $message = "", $code = 0, Throwable $previous = null) | ||
{ | ||
$this->entry = $entry; | ||
$this->type = $type; | ||
parent::__construct($message, $code, $previous); | ||
} | ||
|
||
|