Completed
Branch users (0e1b94)
by Hugo
02:37
created
app/models/Ressource.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
     }
103 103
     
104 104
     public function toString() {
105
-    	return $this->libelle;
105
+     return $this->libelle;
106 106
     }
107 107
 
108 108
 }
Please login to merge, or discard this patch.
app/controllers/ProjetsController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-class ProjetsController extends \ControllerBase{
3
+class ProjetsController extends \ControllerBase {
4 4
 
5 5
     protected $model;
6 6
     protected $title;
7 7
     protected $controller;
8 8
 
9
-    public function initialize(){
9
+    public function initialize() {
10 10
         $this->model = "Projet";
11 11
         $this->title = "Projets";
12 12
         $this->controller = "Projets";
Please login to merge, or discard this patch.
app/controllers/TestController.php 2 patches
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -3,25 +3,25 @@
 block discarded – undo
3 3
 class TestController extends \Phalcon\Mvc\Controller
4 4
 {
5 5
 
6
-	protected $model;
7
-	protected $title;
8
-	protected $controller;
6
+ protected $model;
7
+ protected $title;
8
+ protected $controller;
9 9
 	
10 10
     public function indexAction()
11 11
     {
12
-    	$operationsBdd = Operation::find();
13
-    	foreach ($operationsBdd as $operation) {
14
-    		$operations[] = $operation->getOperation();
15
-    	}
16
-    	foreach ($operations as $operation) {
17
-    		echo $operation;
18
-    	}
12
+     $operationsBdd = Operation::find();
13
+     foreach ($operationsBdd as $operation) {
14
+      $operations[] = $operation->getOperation();
15
+     }
16
+     foreach ($operations as $operation) {
17
+      echo $operation;
18
+     }
19 19
     }
20 20
 
21 21
     public function initialize() {
22
-    	$this->model="Test";
23
-    	$this->title="Test";
24
-    	$this->controller="Test";
22
+     $this->model="Test";
23
+     $this->title="Test";
24
+     $this->controller="Test";
25 25
     }
26 26
     
27 27
 }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,9 +19,9 @@
 block discarded – undo
19 19
     }
20 20
 
21 21
     public function initialize() {
22
-    	$this->model="Test";
23
-    	$this->title="Test";
24
-    	$this->controller="Test";
22
+    	$this->model = "Test";
23
+    	$this->title = "Test";
24
+    	$this->controller = "Test";
25 25
     }
26 26
     
27 27
 }
Please login to merge, or discard this patch.