Completed
Push — master ( 02aa65...135f7a )
by P.R.
03:53
created
src/MySql/AuditDataLayer.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -163,6 +163,7 @@  discard block
 block discarded – undo
163 163
   //--------------------------------------------------------------------------------------------------------------------
164 164
   /**
165 165
    * {@inheritdoc}
166
+   * @param string $query
166 167
    */
167 168
   public static function executeNone($query)
168 169
   {
@@ -185,6 +186,7 @@  discard block
 block discarded – undo
185 186
   //--------------------------------------------------------------------------------------------------------------------
186 187
   /**
187 188
    * {@inheritdoc}
189
+   * @param string $query
188 190
    */
189 191
   public static function executeRow1($query)
190 192
   {
@@ -196,6 +198,7 @@  discard block
 block discarded – undo
196 198
   //--------------------------------------------------------------------------------------------------------------------
197 199
   /**
198 200
    * {@inheritdoc}
201
+   * @param string $query
199 202
    */
200 203
   public static function executeRows($query)
201 204
   {
Please login to merge, or discard this patch.
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -83,14 +83,14 @@  discard block
 block discarded – undo
83 83
                                             $additionSql)
84 84
   {
85 85
     $helper = new CreateAuditTrigger($dataSchemaName,
86
-                                     $auditSchemaName,
87
-                                     $tableName,
88
-                                     $triggerName,
89
-                                     $triggerAction,
90
-                                     $auditColumns,
91
-                                     $tableColumns,
92
-                                     $skipVariable,
93
-                                     $additionSql);
86
+                                      $auditSchemaName,
87
+                                      $tableName,
88
+                                      $triggerName,
89
+                                      $triggerAction,
90
+                                      $auditColumns,
91
+                                      $tableColumns,
92
+                                      $skipVariable,
93
+                                      $additionSql);
94 94
     $sql    = $helper->buildStatement();
95 95
 
96 96
     self::executeNone($sql);
@@ -258,8 +258,8 @@  discard block
 block discarded – undo
258 258
 where  TABLE_SCHEMA = %s
259 259
 and    TABLE_NAME   = %s
260 260
 order by ORDINAL_POSITION',
261
-                   parent::quoteString($schemaName),
262
-                   parent::quoteString($tableName));
261
+                    parent::quoteString($schemaName),
262
+                    parent::quoteString($tableName));
263 263
 
264 264
     return self::executeRows($sql);
265 265
   }
@@ -283,8 +283,8 @@  discard block
 block discarded – undo
283 283
 inner join information_schema.COLLATION_CHARACTER_SET_APPLICABILITY t2  on  t2.COLLATION_NAME = t1.TABLE_COLLATION
284 284
 WHERE t1.TABLE_SCHEMA = %s
285 285
 AND   t1.TABLE_NAME   = %s',
286
-                   parent::quoteString($schemaName),
287
-                   parent::quoteString($tableName));
286
+                    parent::quoteString($schemaName),
287
+                    parent::quoteString($tableName));
288 288
 
289 289
     return self::executeRow1($sql);
290 290
   }
@@ -306,8 +306,8 @@  discard block
 block discarded – undo
306 306
 where  TRIGGER_SCHEMA     = %s
307 307
 and    EVENT_OBJECT_TABLE = %s
308 308
 order by Trigger_Name',
309
-                   parent::quoteString($schemaName),
310
-                   parent::quoteString($tableName));
309
+                    parent::quoteString($schemaName),
310
+                    parent::quoteString($tableName));
311 311
 
312 312
     return self::executeRows($sql);
313 313
   }
@@ -349,7 +349,7 @@  discard block
 block discarded – undo
349 349
 where  TRIGGER_SCHEMA     = %s
350 350
 order by EVENT_OBJECT_TABLE
351 351
 ,        TRIGGER_NAME',
352
-                   parent::quoteString($schemaName));
352
+                    parent::quoteString($schemaName));
353 353
 
354 354
     return self::executeRows($sql);
355 355
   }
Please login to merge, or discard this patch.