Skip to content

Commit 78178a8

Browse files
committed
fix typing
1 parent ccd08e1 commit 78178a8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/generators/ModelGeneratorMock.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use yii\gii\generators\model\Generator;
77

88
/**
9-
* Just a mock for testing porpouses.
9+
* Just a mock for testing purposes.
1010
*
1111
* @author Sidney Lins slinstj@gmail.com
1212
*/
@@ -22,7 +22,7 @@ public function publicGenerateClassName($tableName, $useSchemaName = null)
2222
return $this->generateClassName($tableName, $useSchemaName);
2323
}
2424

25-
public function publicGenerateProperties(TableSchema $table): array
25+
public function publicGenerateProperties(TableSchema $table)
2626
{
2727
return $this->generateProperties($table);
2828
}

0 commit comments

Comments
 (0)