Skip to content

Commit 922a1b2

Browse files
committed
Compat fixes
1 parent 1952554 commit 922a1b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Tqdev/PhpCrudApi/OpenApi/OpenApiDefinition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ private function set(String $path, String $value) /*: void*/
1717
$current = $value;
1818
}
1919

20-
public function setPaths(DatabaseDefinition $database/*: void*/
20+
public function setPaths(DatabaseDefinition $database) /*: void*/
2121
{
2222
$result = [];
2323
foreach ($database->getTables() as $database) {

src/Tqdev/PhpCrudApi/Record/PathTree.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class PathTree implements \JsonSerializable
77

88
private $tree;
99

10-
public function __construct(object &$tree = null)
10+
public function __construct( /* object */&$tree = null)
1111
{
1212
if (!$tree) {
1313
$tree = $this->newTree();

0 commit comments

Comments
 (0)