Skip to content

Commit a4539ac

Browse files
committed
Type hint Migration target version as string
1 parent 3c0f2c3 commit a4539ac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

system/Database/MigrationRunner.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,14 +179,14 @@ public function __construct(BaseConfig $config, ConnectionInterface $db = null)
179179
* Calls each migration step required to get to the schema version of
180180
* choice
181181
*
182-
* @param integer $targetVersion Target schema version
182+
* @param string $targetVersion Target schema version
183183
* @param string|null $namespace
184184
* @param string|null $group
185185
*
186186
* @return mixed TRUE if no migrations are found, current version string on success, FALSE on failure
187187
* @throws ConfigException
188188
*/
189-
public function version(int $targetVersion, string $namespace = null, string $group = null)
189+
public function version(string $targetVersion, string $namespace = null, string $group = null)
190190
{
191191
if (! $this->enabled)
192192
{

0 commit comments

Comments
 (0)