Skip to content

Commit 4ae8e99

Browse files
TomasVotrubastaabm
authored andcommitted
add explicit void types
1 parent 6d3b4ac commit 4ae8e99

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Analyzer/QueryPlanResult.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function getSimulatedQuery(): string
3535
/**
3636
* @param self::* $result
3737
*/
38-
public function addRow(string $table, string $result)
38+
public function addRow(string $table, string $result): void
3939
{
4040
$this->result[$table] = $result;
4141
}

src/QueryReflection/ReflectionCache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function getSchemaHash()
101101
return $this->schemaHash;
102102
}
103103

104-
public function setSchemaHash(string $hash)
104+
public function setSchemaHash(string $hash): void
105105
{
106106
$this->cacheIsDirty = true;
107107
$this->schemaHash = $hash;

0 commit comments

Comments
 (0)