Skip to content

Commit

Permalink
#9895 typo fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
touhidurabir committed Jun 30, 2024
1 parent eb612b6 commit 4d85c0f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions classes/config/ConfigParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/**
* @file classes/config/ConfigParser.php
*
* Copyright (c) 2024 Simon Fraser University
* Copyright (c) 2024 John Willinsky
* Copyright (c) 2014-2024 Simon Fraser University
* Copyright (c) 2014-2024 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* @class ConfigParser
Expand Down
2 changes: 1 addition & 1 deletion classes/core/PKPAppKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public static function generate(string $cipher = null): string
*
* @throws \Exception
*/
public static function writeAppKeyVaribaleToConfig(): bool
public static function writeAppKeyVariableToConfig(): bool
{
$instruction = __('installer.appKey.keyVariable.missing.instruction');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function up(): void

try {
if (!PKPAppKey::hasKeyVariable()) {
PKPAppKey::writeAppKeyVaribaleToConfig();
PKPAppKey::writeAppKeyVariableToConfig();
}
PKPAppKey::writeAppKeyToConfig(PKPAppKey::generate());
} catch (Throwable $exception) {
Expand Down
2 changes: 1 addition & 1 deletion tools/appKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public function configure(): void
}

try {
PKPAppKey::writeAppKeyVaribaleToConfig()
PKPAppKey::writeAppKeyVariableToConfig()
? $output->success(__('admin.cli.tool.appKeyVariable.success.writtenToConfig'))
: $output->error(__('admin.cli.tool.appKeyVariable.error.writtenToConfig'));
} catch (Throwable $exception) {
Expand Down

0 comments on commit 4d85c0f

Please sign in to comment.