Skip to content

Commit 41c0f21

Browse files
committed
Code-style patch.
1 parent 89524d3 commit 41c0f21

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/php-cs-fixer.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ jobs:
2424

2525
- name: PHP-CS-Fixer Check
2626
run: |
27-
php-cs-fixer fix -v --dry-run ./src --rules=@PSR12
28-
php-cs-fixer fix -v --dry-run ./tests.php --rules=@PSR12
27+
php-cs-fixer fix -v --dry-run ./src --rules=@PSR12,-blank_line_after_opening_tag
28+
php-cs-fixer fix -v --dry-run ./tests.php --rules=@PSR12,-blank_line_after_opening_tag

src/Loader.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* License: GNU/GPLv2
99
* @see LICENSE.txt
1010
*
11-
* This file: The loader (last modified: 2024.08.09).
11+
* This file: The loader (last modified: 2024.12.26).
1212
*/
1313

1414
namespace phpMussel\Core;
@@ -93,7 +93,7 @@ class Loader
9393
/**
9494
* @var string phpMussel version number (SemVer).
9595
*/
96-
public $ScriptVersion = '3.5.2';
96+
public $ScriptVersion = '3.5.4';
9797

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

0 commit comments

Comments
 (0)