Completed
Push — dev/plugin-assets ( 1918e3 )
by Kiyotaka
06:51
created
codeception/acceptance/EA10PluginCest.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -277,11 +277,18 @@
 block discarded – undo
277 277
         $I->assertFileNotExists($updatedPath);
278 278
     }
279 279
 
280
+    /**
281
+     * @param string $tableName
282
+     */
280 283
     private function tableExists($tableName)
281 284
     {
282 285
         return $this->conn->executeQuery("SELECT count(*) AS count FROM information_schema.columns WHERE table_name = '${tableName}';")->fetch()['count'] > 0;
283 286
     }
284 287
 
288
+    /**
289
+     * @param string $tableName
290
+     * @param string $columnName
291
+     */
285 292
     private function columnExists($tableName, $columnName)
286 293
     {
287 294
         return $this->conn->executeQuery("SELECT count(*) AS count FROM information_schema.columns WHERE table_name = '${tableName}' AND column_name = '${columnName}';")->fetch()['count'] == 1;
Please login to merge, or discard this patch.