Skip to content

Commit

Permalink
Fixing method for PHP 5
Browse files Browse the repository at this point in the history
  • Loading branch information
kamshory committed Nov 6, 2024
1 parent e07f9b1 commit 20e1cd2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Database/PicoTableInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ public function getPackage()
*
* @return self
*/
public function setPackage(string $package)
public function setPackage($package)
{
$this->package = $package;

Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/EntityException.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class EntityException extends Exception
* @param int $code Exception code
* @param Throwable|null $previous Previous exception
*/
public function __construct(string $message, int $code = 0, Throwable $previous = null)
public function __construct($message, $code = 0, $previous = null)
{
parent::__construct($message, $code, $previous);
$this->previous = $previous;
Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/FileNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class FileNotFoundException extends Exception
* @param int $code Exception code
* @param Throwable|null $previous Previous exception
*/
public function __construct(string $message, int $code = 0, Throwable $previous = null)
public function __construct($message, $code = 0, $previous = null)
{
parent::__construct($message, $code, $previous);
$this->previous = $previous;
Expand Down

0 comments on commit 20e1cd2

Please sign in to comment.