Skip to content

Commit

Permalink
PHP 8.1 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
jiri stepina committed Dec 16, 2022
1 parent a797b1c commit fadaa49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/interfaces/visitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function __construct()
*
* @return integer
*/
public function count()
public function count() : int
{
return count( $this->visited );
}
Expand Down
2 changes: 1 addition & 1 deletion src/workflow.php
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ public function __isset( $propertyName )
*
* @return integer
*/
public function count()
public function count() : int
{
$visitor = new ezcWorkflowVisitor;
$this->accept( $visitor );
Expand Down

0 comments on commit fadaa49

Please sign in to comment.