Skip to content

Commit

Permalink
Code-style patch.
Browse files Browse the repository at this point in the history
  • Loading branch information
Maikuolan committed Dec 26, 2024
1 parent 89524d3 commit 41c0f21
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/php-cs-fixer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ jobs:

- name: PHP-CS-Fixer Check
run: |
php-cs-fixer fix -v --dry-run ./src --rules=@PSR12
php-cs-fixer fix -v --dry-run ./tests.php --rules=@PSR12
php-cs-fixer fix -v --dry-run ./src --rules=@PSR12,-blank_line_after_opening_tag
php-cs-fixer fix -v --dry-run ./tests.php --rules=@PSR12,-blank_line_after_opening_tag
8 changes: 4 additions & 4 deletions src/Loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* License: GNU/GPLv2
* @see LICENSE.txt
*
* This file: The loader (last modified: 2024.08.09).
* This file: The loader (last modified: 2024.12.26).
*/

namespace phpMussel\Core;
Expand Down Expand Up @@ -93,7 +93,7 @@ class Loader
/**
* @var string phpMussel version number (SemVer).
*/
public $ScriptVersion = '3.5.2';
public $ScriptVersion = '3.5.4';

/**
* @var string phpMussel version identifier (complete notation).
Expand Down Expand Up @@ -945,10 +945,10 @@ public function readFileGZ(string $File): string
*
* @param string $Filename Refer to the description for file().
* @param int $Flags Refer to the description for file().
* @param resource|null $Context Refer to the description for file().
* @param ?resource $Context Refer to the description for file().
* @return array The file's contents or an empty array on failure.
*/
public function readFileAsArray(string $Filename, int $Flags = 0, $Context = null): array
public function readFileAsArray(string $Filename, int $Flags = 0, ?$Context = null): array
{
/** Guard. */
if (!is_file($Filename) || !is_readable($Filename) || !$Filesize = filesize($Filename)) {
Expand Down

0 comments on commit 41c0f21

Please sign in to comment.