Skip to content

Commit

Permalink
PHP 8.1 tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
rotimi committed May 9, 2023
1 parent 9fa27d7 commit b7ae5fc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
errorLevel="1"
resolveFromConfigFile="true"
allowStringToStandInForClass="true"
findUnusedCode="false"
findUnusedPsalmSuppress="true"
findUnusedBaselineEntry="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
Expand Down
2 changes: 1 addition & 1 deletion src/GDAO/Model/CollectionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @copyright (c) 2023, Rotexsoft
*
*/
interface CollectionInterface extends \ArrayAccess, \Countable, \IteratorAggregate
interface CollectionInterface extends \ArrayAccess, \Countable, \IteratorAggregate, \Stringable
{
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion src/GDAO/Model/RecordInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
* @copyright (c) 2023, Rotexsoft
*/
interface RecordInterface extends \ArrayAccess, \Countable, \IteratorAggregate
interface RecordInterface extends \ArrayAccess, \Countable, \IteratorAggregate, \Stringable
{
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit b7ae5fc

Please sign in to comment.