Skip to content

Commit

Permalink
Merged pull request #17
Browse files Browse the repository at this point in the history
  • Loading branch information
derickr committed Dec 16, 2022
2 parents a797b1c + fadaa49 commit ba51c9d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
1.5.1 - Friday 16 December 2022
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Fixed #17: PHP 8.1 compatibility.


1.5 - Saturday 27 September 2014
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down
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 ba51c9d

Please sign in to comment.