Skip to content

Commit

Permalink
Declare strict types
Browse files Browse the repository at this point in the history
  • Loading branch information
campbell-m committed Jul 3, 2024
1 parent ae092d5 commit cfa0f7b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion web/lib/MRBS/DB.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

declare(strict_types=1);
namespace MRBS;

use PDO;
Expand Down
1 change: 1 addition & 0 deletions web/lib/MRBS/DBException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
namespace MRBS;

class DBException extends \PDOException
Expand Down
2 changes: 1 addition & 1 deletion web/lib/MRBS/DBFactory.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

declare(strict_types=1);
namespace MRBS;


Expand Down
2 changes: 1 addition & 1 deletion web/lib/MRBS/DBStatement.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

declare(strict_types=1);
namespace MRBS;

use PDO;
Expand Down
2 changes: 1 addition & 1 deletion web/lib/MRBS/DB_mysql.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

declare(strict_types=1);
namespace MRBS;

use Error;
Expand Down
2 changes: 1 addition & 1 deletion web/lib/MRBS/DB_pgsql.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

declare(strict_types=1);
namespace MRBS;

use PDOException;
Expand Down

0 comments on commit cfa0f7b

Please sign in to comment.