Completed
Push — master ( bb2531...13f21d )
by Aimeos
07:57
created
lib/mshoplib/setup/ServiceUniqueCode.php 3 patches
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 	/**
38 38
 	 * Returns the list of task names which depends on this task.
39 39
 	 *
40
-	 * @return array List of task names
40
+	 * @return string[] List of task names
41 41
 	 */
42 42
 	public function getPostDependencies()
43 43
 	{
@@ -48,7 +48,6 @@  discard block
 block discarded – undo
48 48
 	/**
49 49
 	 * Renames all order tables if they exist.
50 50
 	 *
51
-	 * @param array $stmts Associative array of tables names and lists of SQL statements to execute.
52 51
 	 */
53 52
 	public function migrate()
54 53
 	{
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
 			foreach( $list as $code )
72 72
 			{
73 73
 				$stmt->bind( 1, $code );
74
-				$stmt->bind( 2, $code . '2' );
74
+				$stmt->bind( 2, $code.'2' );
75 75
 				$stmt->execute()->finish();
76 76
 			}
77 77
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,8 +76,7 @@
 block discarded – undo
76 76
 			}
77 77
 
78 78
 			$this->status( 'done' );
79
-		}
80
-		else
79
+		} else
81 80
 		{
82 81
 			$this->status( 'OK' );
83 82
 		}
Please login to merge, or discard this patch.
lib/mshoplib/setup/default/schema/service.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 
9 9
 return array(
10 10
 	'table' => array(
11
-		'mshop_service_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
11
+		'mshop_service_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
12 12
 
13 13
 			$table = $schema->createTable( 'mshop_service_type' );
14 14
 
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 			return $schema;
32 32
 		},
33 33
 
34
-		'mshop_service' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
34
+		'mshop_service' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
35 35
 
36 36
 			$table = $schema->createTable( 'mshop_service' );
37 37
 
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 			$table->addColumn( 'status', 'smallint', [] );
47 47
 			$table->addColumn( 'mtime', 'datetime', [] );
48 48
 			$table->addColumn( 'ctime', 'datetime', [] );
49
-			$table->addColumn( 'editor', 'string', array('length' => 255 ) );
49
+			$table->addColumn( 'editor', 'string', array( 'length' => 255 ) );
50 50
 
51 51
 			$table->setPrimaryKey( array( 'id' ), 'pk_msser_id' );
52 52
 			$table->addUniqueIndex( array( 'siteid', 'code' ), 'unq_msser_siteid_code' );
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 			return $schema;
64 64
 		},
65 65
 
66
-		'mshop_service_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
66
+		'mshop_service_list_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
67 67
 
68 68
 			$table = $schema->createTable( 'mshop_service_list_type' );
69 69
 
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 			return $schema;
87 87
 		},
88 88
 
89
-		'mshop_service_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
89
+		'mshop_service_list' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
90 90
 
91 91
 			$table = $schema->createTable( 'mshop_service_list' );
92 92
 
Please login to merge, or discard this patch.