@@ -48,6 +48,8 @@ trait DatabaseTestTrait
4848
4949 /**
5050 * Runs the trait set up methods.
51+ *
52+ * @return void
5153 */
5254 protected function setUpDatabase ()
5355 {
@@ -58,6 +60,8 @@ protected function setUpDatabase()
5860
5961 /**
6062 * Runs the trait set up methods.
63+ *
64+ * @return void
6165 */
6266 protected function tearDownDatabase ()
6367 {
@@ -66,6 +70,8 @@ protected function tearDownDatabase()
6670
6771 /**
6872 * Load any database test dependencies.
73+ *
74+ * @return void
6975 */
7076 public function loadDependencies ()
7177 {
@@ -95,6 +101,8 @@ public function loadDependencies()
95101
96102 /**
97103 * Migrate on setUp
104+ *
105+ * @return void
98106 */
99107 protected function setUpMigrate ()
100108 {
@@ -112,6 +120,8 @@ protected function setUpMigrate()
112120
113121 /**
114122 * Regress migrations as defined by the class
123+ *
124+ * @return void
115125 */
116126 protected function regressDatabase ()
117127 {
@@ -138,6 +148,8 @@ protected function regressDatabase()
138148
139149 /**
140150 * Run migrations as defined by the class
151+ *
152+ * @return void
141153 */
142154 protected function migrateDatabase ()
143155 {
@@ -169,6 +181,8 @@ protected function migrateDatabase()
169181
170182 /**
171183 * Seed on setUp
184+ *
185+ * @return void
172186 */
173187 protected function setUpSeed ()
174188 {
@@ -179,6 +193,8 @@ protected function setUpSeed()
179193
180194 /**
181195 * Run seeds as defined by the class
196+ *
197+ * @return void
182198 */
183199 protected function runSeeds ()
184200 {
@@ -199,6 +215,8 @@ protected function runSeeds()
199215
200216 /**
201217 * Seeds that database with a specific seeder.
218+ *
219+ * @return void
202220 */
203221 public function seed (string $ name )
204222 {
@@ -213,6 +231,8 @@ public function seed(string $name)
213231 * Reset $doneMigration and $doneSeed
214232 *
215233 * @afterClass
234+ *
235+ * @return void
216236 */
217237 public static function resetMigrationSeedCount ()
218238 {
@@ -222,6 +242,8 @@ public static function resetMigrationSeedCount()
222242
223243 /**
224244 * Removes any rows inserted via $this->hasInDatabase()
245+ *
246+ * @return void
225247 */
226248 protected function clearInsertCache ()
227249 {
@@ -248,6 +270,8 @@ public function loadBuilder(string $tableName)
248270 * Fetches a single column from a database row with criteria
249271 * matching $where.
250272 *
273+ * @param array<string, mixed> $where
274+ *
251275 * @return bool
252276 *
253277 * @throws DatabaseException
@@ -272,6 +296,10 @@ public function grabFromDatabase(string $table, string $column, array $where)
272296 * Asserts that records that match the conditions in $where DO
273297 * exist in the database.
274298 *
299+ * @param array<string, mixed> $where
300+ *
301+ * @return void
302+ *
275303 * @throws DatabaseException
276304 */
277305 public function seeInDatabase (string $ table , array $ where )
@@ -283,6 +311,10 @@ public function seeInDatabase(string $table, array $where)
283311 /**
284312 * Asserts that records that match the conditions in $where do
285313 * not exist in the database.
314+ *
315+ * @param array<string, mixed> $where
316+ *
317+ * @return void
286318 */
287319 public function dontSeeInDatabase (string $ table , array $ where )
288320 {
@@ -297,6 +329,8 @@ public function dontSeeInDatabase(string $table, array $where)
297329 * Inserts a row into to the database. This row will be removed
298330 * after the test has run.
299331 *
332+ * @param array<string, mixed> $data
333+ *
300334 * @return bool
301335 */
302336 public function hasInDatabase (string $ table , array $ data )
@@ -313,6 +347,10 @@ public function hasInDatabase(string $table, array $data)
313347 * Asserts that the number of rows in the database that match $where
314348 * is equal to $expected.
315349 *
350+ * @param array<string, mixed> $where
351+ *
352+ * @return void
353+ *
316354 * @throws DatabaseException
317355 */
318356 public function seeNumRecords (int $ expected , string $ table , array $ where )
0 commit comments