Skip to content

Commit 783d44a

Browse files
janhenkgerritsenNaktibalda
authored andcommitted
Fix docblocks for have and haveMultiple methods
1 parent 2d253ee commit 783d44a

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
#### 2.2.6
4+
5+
* [Laravel5][Lumen] Fixed issue that caused the `have` and `haveMultiple` methods not being available when using the ORM part of the modules. See #3587. By @janhenkgerritsen
6+
37
#### 2.2.5
48

59
* Support for PhpUnit 5.x.

src/Codeception/Module/Laravel5.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,7 @@ protected function findRecord($table, $attributes = [])
10291029
return (array) $query->first();
10301030
}
10311031

1032-
/*
1032+
/**
10331033
* Use Laravel's model factory to create a model.
10341034
* Can only be used with Laravel 5.1 and later.
10351035
*
@@ -1057,7 +1057,7 @@ public function have($model, $attributes = [], $name = 'default')
10571057
}
10581058
}
10591059

1060-
/*
1060+
/**
10611061
* Use Laravel's model factory to create multiple models.
10621062
* Can only be used with Laravel 5.1 and later.
10631063
*

src/Codeception/Module/Lumen.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ protected function findRecord($table, $attributes = [])
476476
return (array)$query->first();
477477
}
478478

479-
/*
479+
/**
480480
* Use Lumen's model factory to create a model.
481481
* Can only be used with Lumen 5.1 and later.
482482
*
@@ -504,7 +504,7 @@ public function have($model, $attributes = [], $name = 'default')
504504
}
505505
}
506506

507-
/*
507+
/**
508508
* Use Laravel's model factory to create multiple models.
509509
* Can only be used with Lumen 5.1 and later.
510510
*

0 commit comments

Comments
 (0)