Skip to content

Commit 9510ddc

Browse files
committed
Code-style patch.
1 parent c6e4328 commit 9510ddc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Loader.php

Lines changed: 2 additions & 2 deletions
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: 2021.02.07).
11+
* This file: The loader (last modified: 2021.03.03).
1212
*/
1313

1414
namespace phpMussel\Core;
@@ -171,7 +171,7 @@ class Loader
171171
/**
172172
* @var string Safety mechanism for logging events.
173173
*/
174-
const SAFETY = "\x3c\x3fphp die; \x3f\x3e";
174+
public const SAFETY = "\x3c\x3fphp die; \x3f\x3e";
175175

176176
/**
177177
* Construct the loader.

src/ZipHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* License: GNU/GPLv2
99
* @see LICENSE.txt
1010
*
11-
* This file: Zip handler (last modified: 2020.07.11).
11+
* This file: Zip handler (last modified: 2021.03.03).
1212
*/
1313

1414
namespace phpMussel\Core;
@@ -54,7 +54,7 @@ public function __construct($Pointer)
5454
return;
5555
}
5656

57-
$this->ZipObject = new \ZipArchive;
57+
$this->ZipObject = new \ZipArchive();
5858
if (!$this->ZipObject->open($Pointer)) {
5959
$this->ErrorState = 2;
6060
return;

0 commit comments

Comments
 (0)