Completed
Push — master ( cac1be...eadaa3 )
by Thomas
04:35
created
src/command/GenerateActionCommand.php 1 patch
Switch Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -216,14 +216,14 @@
 block discarded – undo
216 216
 
217 217
 	private function getActionTitle($modelName, $type) {
218 218
 		switch ($type) {
219
-			case 'list':
220
-				return 'List all ' . NameUtils::pluralize($modelName);
219
+		case 'list':
220
+			return 'List all ' . NameUtils::pluralize($modelName);
221 221
 
222
-			case 'create':
223
-			case 'read':
224
-			case 'update':
225
-			case 'delete':
226
-				return ucfirst($type) . 's ' . (in_array($modelName[0], ['a', 'e', 'i', 'o', 'u']) ? 'an' : 'a') . ' ' . $modelName;
222
+		case 'create':
223
+		case 'read':
224
+		case 'update':
225
+		case 'delete':
226
+			return ucfirst($type) . 's ' . (in_array($modelName[0], ['a', 'e', 'i', 'o', 'u']) ? 'an' : 'a') . ' ' . $modelName;
227 227
 		}
228 228
 	}
229 229
 
Please login to merge, or discard this patch.