Completed
Push — master ( 9d31a7...55703c )
by Fabio
09:26
created
bin/prado-cli.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -100,8 +100,7 @@  discard block
 block discarded – undo
100 100
 			{
101 101
 				$valid |= $action->performAction($args);
102 102
 				break;
103
-			}
104
-			else
103
+			} else
105 104
 			{
106 105
 				$valid = false;
107 106
 			}
@@ -203,8 +202,7 @@  discard block
 block discarded – undo
203 202
 			}
204 203
 
205 204
 			return Prado::getApplication();
206
-		}
207
-		else
205
+		} else
208 206
 		{
209 207
 			PradoCommandLineInterpreter::printGreeting();
210 208
 			echo '+'.str_repeat('-',77)."+\n";
@@ -552,8 +550,7 @@  discard block
 block discarded – undo
552 550
 			{
553 551
 				echo '** Unable to find table or view "'.$tablename.'" in "'.$manager->getDbConnection()->getConnectionString()."\".\n";
554 552
 				return false;
555
-			}
556
-			else
553
+			} else
557 554
 			{
558 555
 				$properties = array();
559 556
 				foreach($tableInfo->getColumns() as $field=>$column)
@@ -697,8 +694,7 @@  discard block
 block discarded – undo
697 694
 				$args = array($input[0],$input[1], $input[2],$app_dir,'soap');
698 695
 			$cmd = new PradoCommandLineActiveRecordGen;
699 696
 			$cmd->performAction($args);
700
-		}
701
-		else
697
+		} else
702 698
 		{
703 699
 			echo "\n    Usage: generate table_name Application.pages.RecordClassName\n";
704 700
 		}
Please login to merge, or discard this patch.