Passed
Push — master ( 003b31...53bc6b )
by Anthony
01:51
created
Controller/AccessRightsController.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,8 +6,7 @@
 block discarded – undo
6 6
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
7 7
 use Symfony\Component\HttpFoundation\Response;
8 8
 
9
-class AccessRightsController extends Controller
10
-{
9
+class AccessRightsController extends Controller {
11 10
 	/**
12 11
 	 * @return Response
13 12
 	 */
Please login to merge, or discard this patch.
Entity/Page.php 1 patch
Indentation   +234 added lines, -234 removed lines patch added patch discarded remove patch
@@ -12,240 +12,240 @@
 block discarded – undo
12 12
  */
13 13
 class Page
14 14
 {
15
-    /**
16
-     * @var integer
17
-     *
18
-     * @ORM\Column(name="id", type="integer", nullable=false, options={"unsigned"=true})
19
-     * @ORM\Id
20
-     * @ORM\GeneratedValue(strategy="IDENTITY")
21
-     */
22
-    private $id;
23
-
24
-    /**
25
-     * @var string
26
-     *
27
-     * @ORM\Column(name="guid", type="string", length=255, nullable=false)
28
-     */
29
-    private $guid;
30
-
31
-    /**
32
-     * @var string
33
-     *
34
-     * @ORM\Column(name="title_tag", type="string", length=70, nullable=true)
35
-     */
36
-    private $titleTag;
37
-
38
-    /**
39
-     * @var string
40
-     *
41
-     * @ORM\Column(name="description_tag", type="string", length=160, nullable=true)
42
-     */
43
-    private $descriptionTag;
44
-
45
-    /**
46
-     * @var string
47
-     *
48
-     * @ORM\Column(name="title", type="string", length=255, nullable=false)
49
-     */
50
-    private $title;
51
-
52
-    /**
53
-     * @var string
54
-     *
55
-     * @ORM\Column(name="content", type="text", nullable=true)
56
-     */
57
-    private $content;
58
-
59
-    /**
60
-     * @var integer
61
-     *
62
-     * @ORM\Column(name="active", type="integer", nullable=false)
63
-     */
64
-    private $active;
65
-
66
-    /**
67
-     * @var integer
68
-     *
69
-     * @ORM\Column(name="order", type="integer", nullable=false)
70
-     */
71
-    private $order;
72
-
73
-    /**
74
-     * @var integer
75
-     *
76
-     * @ORM\Column(name="displayed", type="integer", nullable=false)
77
-     */
78
-    private $displayed;
79
-
80
-    /**
81
-     * @var \Page
82
-     *
83
-     * @ORM\ManyToOne(targetEntity="Page")
84
-     * @ORM\JoinColumns({
85
-     *   @ORM\JoinColumn(name="parent", referencedColumnName="id")
86
-     * })
87
-     */
88
-    private $parent;
89
-
90
-    /**
91
-     * @return int
92
-     */
93
-    public function getId()
94
-    {
95
-        return $this->id;
96
-    }
97
-
98
-    /**
99
-     * @param int $id
100
-     */
101
-    public function setId($id)
102
-    {
103
-        $this->id = $id;
104
-    }
105
-
106
-    /**
107
-     * @return string
108
-     */
109
-    public function getGuid()
110
-    {
111
-        return $this->guid;
112
-    }
113
-
114
-    /**
115
-     * @param string $guid
116
-     */
117
-    public function setGuid($guid)
118
-    {
119
-        $this->guid = $guid;
120
-    }
121
-
122
-    /**
123
-     * @return string
124
-     */
125
-    public function getTitleTag()
126
-    {
127
-        return $this->titleTag;
128
-    }
129
-
130
-    /**
131
-     * @param string $titleTag
132
-     */
133
-    public function setTitleTag($titleTag)
134
-    {
135
-        $this->titleTag = $titleTag;
136
-    }
137
-
138
-    /**
139
-     * @return string
140
-     */
141
-    public function getDescriptionTag()
142
-    {
143
-        return $this->descriptionTag;
144
-    }
145
-
146
-    /**
147
-     * @param string $descriptionTag
148
-     */
149
-    public function setDescriptionTag($descriptionTag)
150
-    {
151
-        $this->descriptionTag = $descriptionTag;
152
-    }
153
-
154
-    /**
155
-     * @return string
156
-     */
157
-    public function getTitle()
158
-    {
159
-        return $this->title;
160
-    }
161
-
162
-    /**
163
-     * @param string $title
164
-     */
165
-    public function setTitle($title)
166
-    {
167
-        $this->title = $title;
168
-    }
169
-
170
-    /**
171
-     * @return string
172
-     */
173
-    public function getContent()
174
-    {
175
-        return $this->content;
176
-    }
177
-
178
-    /**
179
-     * @param string $content
180
-     */
181
-    public function setContent($content)
182
-    {
183
-        $this->content = $content;
184
-    }
185
-
186
-    /**
187
-     * @return int
188
-     */
189
-    public function getActive()
190
-    {
191
-        return $this->active;
192
-    }
193
-
194
-    /**
195
-     * @param int $active
196
-     */
197
-    public function setActive($active)
198
-    {
199
-        $this->active = $active;
200
-    }
201
-
202
-    /**
203
-     * @return int
204
-     */
205
-    public function getOrder()
206
-    {
207
-        return $this->order;
208
-    }
209
-
210
-    /**
211
-     * @param int $order
212
-     */
213
-    public function setOrder($order)
214
-    {
215
-        $this->order = $order;
216
-    }
217
-
218
-    /**
219
-     * @return int
220
-     */
221
-    public function getDisplayed()
222
-    {
223
-        return $this->displayed;
224
-    }
225
-
226
-    /**
227
-     * @param int $displayed
228
-     */
229
-    public function setDisplayed($displayed)
230
-    {
231
-        $this->displayed = $displayed;
232
-    }
233
-
234
-    /**
235
-     * @return \Page
236
-     */
237
-    public function getParent()
238
-    {
239
-        return $this->parent;
240
-    }
241
-
242
-    /**
243
-     * @param \Page $parent
244
-     */
245
-    public function setParent($parent)
246
-    {
247
-        $this->parent = $parent;
248
-    }
15
+				/**
16
+				 * @var integer
17
+				 *
18
+				 * @ORM\Column(name="id", type="integer", nullable=false, options={"unsigned"=true})
19
+				 * @ORM\Id
20
+				 * @ORM\GeneratedValue(strategy="IDENTITY")
21
+				 */
22
+				private $id;
23
+
24
+				/**
25
+				 * @var string
26
+				 *
27
+				 * @ORM\Column(name="guid", type="string", length=255, nullable=false)
28
+				 */
29
+				private $guid;
30
+
31
+				/**
32
+				 * @var string
33
+				 *
34
+				 * @ORM\Column(name="title_tag", type="string", length=70, nullable=true)
35
+				 */
36
+				private $titleTag;
37
+
38
+				/**
39
+				 * @var string
40
+				 *
41
+				 * @ORM\Column(name="description_tag", type="string", length=160, nullable=true)
42
+				 */
43
+				private $descriptionTag;
44
+
45
+				/**
46
+				 * @var string
47
+				 *
48
+				 * @ORM\Column(name="title", type="string", length=255, nullable=false)
49
+				 */
50
+				private $title;
51
+
52
+				/**
53
+				 * @var string
54
+				 *
55
+				 * @ORM\Column(name="content", type="text", nullable=true)
56
+				 */
57
+				private $content;
58
+
59
+				/**
60
+				 * @var integer
61
+				 *
62
+				 * @ORM\Column(name="active", type="integer", nullable=false)
63
+				 */
64
+				private $active;
65
+
66
+				/**
67
+				 * @var integer
68
+				 *
69
+				 * @ORM\Column(name="order", type="integer", nullable=false)
70
+				 */
71
+				private $order;
72
+
73
+				/**
74
+				 * @var integer
75
+				 *
76
+				 * @ORM\Column(name="displayed", type="integer", nullable=false)
77
+				 */
78
+				private $displayed;
79
+
80
+				/**
81
+				 * @var \Page
82
+				 *
83
+				 * @ORM\ManyToOne(targetEntity="Page")
84
+				 * @ORM\JoinColumns({
85
+				 *   @ORM\JoinColumn(name="parent", referencedColumnName="id")
86
+				 * })
87
+				 */
88
+				private $parent;
89
+
90
+				/**
91
+				 * @return int
92
+				 */
93
+				public function getId()
94
+				{
95
+								return $this->id;
96
+				}
97
+
98
+				/**
99
+				 * @param int $id
100
+				 */
101
+				public function setId($id)
102
+				{
103
+								$this->id = $id;
104
+				}
105
+
106
+				/**
107
+				 * @return string
108
+				 */
109
+				public function getGuid()
110
+				{
111
+								return $this->guid;
112
+				}
113
+
114
+				/**
115
+				 * @param string $guid
116
+				 */
117
+				public function setGuid($guid)
118
+				{
119
+								$this->guid = $guid;
120
+				}
121
+
122
+				/**
123
+				 * @return string
124
+				 */
125
+				public function getTitleTag()
126
+				{
127
+								return $this->titleTag;
128
+				}
129
+
130
+				/**
131
+				 * @param string $titleTag
132
+				 */
133
+				public function setTitleTag($titleTag)
134
+				{
135
+								$this->titleTag = $titleTag;
136
+				}
137
+
138
+				/**
139
+				 * @return string
140
+				 */
141
+				public function getDescriptionTag()
142
+				{
143
+								return $this->descriptionTag;
144
+				}
145
+
146
+				/**
147
+				 * @param string $descriptionTag
148
+				 */
149
+				public function setDescriptionTag($descriptionTag)
150
+				{
151
+								$this->descriptionTag = $descriptionTag;
152
+				}
153
+
154
+				/**
155
+				 * @return string
156
+				 */
157
+				public function getTitle()
158
+				{
159
+								return $this->title;
160
+				}
161
+
162
+				/**
163
+				 * @param string $title
164
+				 */
165
+				public function setTitle($title)
166
+				{
167
+								$this->title = $title;
168
+				}
169
+
170
+				/**
171
+				 * @return string
172
+				 */
173
+				public function getContent()
174
+				{
175
+								return $this->content;
176
+				}
177
+
178
+				/**
179
+				 * @param string $content
180
+				 */
181
+				public function setContent($content)
182
+				{
183
+								$this->content = $content;
184
+				}
185
+
186
+				/**
187
+				 * @return int
188
+				 */
189
+				public function getActive()
190
+				{
191
+								return $this->active;
192
+				}
193
+
194
+				/**
195
+				 * @param int $active
196
+				 */
197
+				public function setActive($active)
198
+				{
199
+								$this->active = $active;
200
+				}
201
+
202
+				/**
203
+				 * @return int
204
+				 */
205
+				public function getOrder()
206
+				{
207
+								return $this->order;
208
+				}
209
+
210
+				/**
211
+				 * @param int $order
212
+				 */
213
+				public function setOrder($order)
214
+				{
215
+								$this->order = $order;
216
+				}
217
+
218
+				/**
219
+				 * @return int
220
+				 */
221
+				public function getDisplayed()
222
+				{
223
+								return $this->displayed;
224
+				}
225
+
226
+				/**
227
+				 * @param int $displayed
228
+				 */
229
+				public function setDisplayed($displayed)
230
+				{
231
+								$this->displayed = $displayed;
232
+				}
233
+
234
+				/**
235
+				 * @return \Page
236
+				 */
237
+				public function getParent()
238
+				{
239
+								return $this->parent;
240
+				}
241
+
242
+				/**
243
+				 * @param \Page $parent
244
+				 */
245
+				public function setParent($parent)
246
+				{
247
+								$this->parent = $parent;
248
+				}
249 249
 
250 250
 
251 251
 }
Please login to merge, or discard this patch.
Entity/UserLogs.php 1 patch
Indentation   +47 added lines, -47 removed lines patch added patch discarded remove patch
@@ -12,58 +12,58 @@
 block discarded – undo
12 12
  */
13 13
 class UserLogs
14 14
 {
15
-    /**
16
-     * @var integer
17
-     *
18
-     * @ORM\Column(name="id", type="integer", nullable=false, options={"unsigned"=true})
19
-     * @ORM\Id
20
-     * @ORM\GeneratedValue(strategy="NONE")
21
-     */
22
-    private $id;
15
+				/**
16
+				 * @var integer
17
+				 *
18
+				 * @ORM\Column(name="id", type="integer", nullable=false, options={"unsigned"=true})
19
+				 * @ORM\Id
20
+				 * @ORM\GeneratedValue(strategy="NONE")
21
+				 */
22
+				private $id;
23 23
 
24
-    /**
25
-     * @var \User
26
-     *
27
-     * @ORM\Id
28
-     * @ORM\GeneratedValue(strategy="NONE")
29
-     * @ORM\OneToOne(targetEntity="User")
30
-     * @ORM\JoinColumns({
31
-     *   @ORM\JoinColumn(name="user_id", referencedColumnName="id")
32
-     * })
33
-     */
34
-    private $user;
24
+				/**
25
+				 * @var \User
26
+				 *
27
+				 * @ORM\Id
28
+				 * @ORM\GeneratedValue(strategy="NONE")
29
+				 * @ORM\OneToOne(targetEntity="User")
30
+				 * @ORM\JoinColumns({
31
+				 *   @ORM\JoinColumn(name="user_id", referencedColumnName="id")
32
+				 * })
33
+				 */
34
+				private $user;
35 35
 
36
-    /**
37
-     * @return int
38
-     */
39
-    public function getId()
40
-    {
41
-        return $this->id;
42
-    }
36
+				/**
37
+				 * @return int
38
+				 */
39
+				public function getId()
40
+				{
41
+								return $this->id;
42
+				}
43 43
 
44
-    /**
45
-     * @param int $id
46
-     */
47
-    public function setId($id)
48
-    {
49
-        $this->id = $id;
50
-    }
44
+				/**
45
+				 * @param int $id
46
+				 */
47
+				public function setId($id)
48
+				{
49
+								$this->id = $id;
50
+				}
51 51
 
52
-    /**
53
-     * @return \User
54
-     */
55
-    public function getUser()
56
-    {
57
-        return $this->user;
58
-    }
52
+				/**
53
+				 * @return \User
54
+				 */
55
+				public function getUser()
56
+				{
57
+								return $this->user;
58
+				}
59 59
 
60
-    /**
61
-     * @param \User $user
62
-     */
63
-    public function setUser($user)
64
-    {
65
-        $this->user = $user;
66
-    }
60
+				/**
61
+				 * @param \User $user
62
+				 */
63
+				public function setUser($user)
64
+				{
65
+								$this->user = $user;
66
+				}
67 67
 
68 68
 
69 69
 }
Please login to merge, or discard this patch.
Entity/User.php 2 patches
Indentation   +252 added lines, -252 removed lines patch added patch discarded remove patch
@@ -12,21 +12,21 @@  discard block
 block discarded – undo
12 12
  */
13 13
 class User
14 14
 {
15
-    /**
16
-     * @var integer
17
-     *
18
-     * @ORM\Column(name="id", type="integer", nullable=false, options={"unsigned"=true})
19
-     * @ORM\Id
20
-     * @ORM\GeneratedValue(strategy="IDENTITY")
21
-     */
22
-    private $id;
23
-
24
-    /**
25
-     * @var string
26
-     *
27
-     * @ORM\Column(name="guid", type="string", length=255, nullable=false)
28
-     */
29
-    private $guid;
15
+				/**
16
+				 * @var integer
17
+				 *
18
+				 * @ORM\Column(name="id", type="integer", nullable=false, options={"unsigned"=true})
19
+				 * @ORM\Id
20
+				 * @ORM\GeneratedValue(strategy="IDENTITY")
21
+				 */
22
+				private $id;
23
+
24
+				/**
25
+				 * @var string
26
+				 *
27
+				 * @ORM\Column(name="guid", type="string", length=255, nullable=false)
28
+				 */
29
+				private $guid;
30 30
 	
31 31
 	/**
32 32
 	 * @var AccessRight
@@ -34,56 +34,56 @@  discard block
 block discarded – undo
34 34
 	 * @ORM\ManyToOne(targetEntity="Ribs\RibsAdminBundle\Entity\AccessRight")
35 35
 	 * @ORM\JoinColumn(name="id_access_right", referencedColumnName="id", nullable=true)
36 36
 	 */
37
-    private $accessRightList;
38
-
39
-    /**
40
-     * @var string
41
-     *
42
-     * @ORM\Column(name="firstname", type="string", length=255, nullable=false)
43
-     */
44
-    private $firstname;
45
-
46
-    /**
47
-     * @var string
48
-     *
49
-     * @ORM\Column(name="lastname", type="string", length=255, nullable=false)
50
-     */
51
-    private $lastname;
52
-
53
-    /**
54
-     * @var string
55
-     *
56
-     * @ORM\Column(name="adress", type="string", length=255, nullable=true)
57
-     */
58
-    private $adress;
59
-
60
-    /**
61
-     * @var string
62
-     *
63
-     * @ORM\Column(name="postal_code", type="string", length=100, nullable=true)
64
-     */
65
-    private $postalCode;
66
-
67
-    /**
68
-     * @var string
69
-     *
70
-     * @ORM\Column(name="country", type="string", length=100, nullable=true)
71
-     */
72
-    private $country;
73
-
74
-    /**
75
-     * @var string
76
-     *
77
-     * @ORM\Column(name="state", type="string", length=255, nullable=true)
78
-     */
79
-    private $state;
80
-
81
-    /**
82
-     * @var string
83
-     *
84
-     * @ORM\Column(name="access_rights", type="text", nullable=true)
85
-     */
86
-    private $accessRights;
37
+				private $accessRightList;
38
+
39
+				/**
40
+				 * @var string
41
+				 *
42
+				 * @ORM\Column(name="firstname", type="string", length=255, nullable=false)
43
+				 */
44
+				private $firstname;
45
+
46
+				/**
47
+				 * @var string
48
+				 *
49
+				 * @ORM\Column(name="lastname", type="string", length=255, nullable=false)
50
+				 */
51
+				private $lastname;
52
+
53
+				/**
54
+				 * @var string
55
+				 *
56
+				 * @ORM\Column(name="adress", type="string", length=255, nullable=true)
57
+				 */
58
+				private $adress;
59
+
60
+				/**
61
+				 * @var string
62
+				 *
63
+				 * @ORM\Column(name="postal_code", type="string", length=100, nullable=true)
64
+				 */
65
+				private $postalCode;
66
+
67
+				/**
68
+				 * @var string
69
+				 *
70
+				 * @ORM\Column(name="country", type="string", length=100, nullable=true)
71
+				 */
72
+				private $country;
73
+
74
+				/**
75
+				 * @var string
76
+				 *
77
+				 * @ORM\Column(name="state", type="string", length=255, nullable=true)
78
+				 */
79
+				private $state;
80
+
81
+				/**
82
+				 * @var string
83
+				 *
84
+				 * @ORM\Column(name="access_rights", type="text", nullable=true)
85
+				 */
86
+				private $accessRights;
87 87
 	
88 88
 	/**
89 89
 	 * @var boolean
@@ -92,51 +92,51 @@  discard block
 block discarded – undo
92 92
 	 */
93 93
 	private $archived;
94 94
 
95
-    /**
96
-     * @var \DateTime
97
-     *
98
-     * @ORM\Column(name="creation_date", type="date", nullable=true)
99
-     */
100
-    private $creationDate;
101
-
102
-    /**
103
-     * @var \DateTime
104
-     *
105
-     * @ORM\Column(name="update_date", type="date", nullable=true)
106
-     */
107
-    private $updateDate;
108
-
109
-    /**
110
-     * @return int
111
-     */
112
-    public function getId()
113
-    {
114
-        return $this->id;
115
-    }
116
-
117
-    /**
118
-     * @param int $id
119
-     */
120
-    public function setId($id)
121
-    {
122
-        $this->id = $id;
123
-    }
124
-
125
-    /**
126
-     * @return string
127
-     */
128
-    public function getGuid()
129
-    {
130
-        return $this->guid;
131
-    }
132
-
133
-    /**
134
-     * @param string $guid
135
-     */
136
-    public function setGuid($guid)
137
-    {
138
-        $this->guid = $guid;
139
-    }
95
+				/**
96
+				 * @var \DateTime
97
+				 *
98
+				 * @ORM\Column(name="creation_date", type="date", nullable=true)
99
+				 */
100
+				private $creationDate;
101
+
102
+				/**
103
+				 * @var \DateTime
104
+				 *
105
+				 * @ORM\Column(name="update_date", type="date", nullable=true)
106
+				 */
107
+				private $updateDate;
108
+
109
+				/**
110
+				 * @return int
111
+				 */
112
+				public function getId()
113
+				{
114
+								return $this->id;
115
+				}
116
+
117
+				/**
118
+				 * @param int $id
119
+				 */
120
+				public function setId($id)
121
+				{
122
+								$this->id = $id;
123
+				}
124
+
125
+				/**
126
+				 * @return string
127
+				 */
128
+				public function getGuid()
129
+				{
130
+								return $this->guid;
131
+				}
132
+
133
+				/**
134
+				 * @param string $guid
135
+				 */
136
+				public function setGuid($guid)
137
+				{
138
+								$this->guid = $guid;
139
+				}
140 140
 	
141 141
 	/**
142 142
 	 * @return AccessRight
@@ -154,133 +154,133 @@  discard block
 block discarded – undo
154 154
 		$this->accessRightList = $accessRightList;
155 155
 	}
156 156
 
157
-    /**
158
-     * @return string
159
-     */
160
-    public function getFirstname()
161
-    {
162
-        return $this->firstname;
163
-    }
164
-
165
-    /**
166
-     * @param string $firstname
167
-     */
168
-    public function setFirstname($firstname)
169
-    {
170
-        $this->firstname = $firstname;
171
-    }
172
-
173
-    /**
174
-     * @return string
175
-     */
176
-    public function getLastname()
177
-    {
178
-        return $this->lastname;
179
-    }
180
-
181
-    /**
182
-     * @param string $lastname
183
-     */
184
-    public function setLastname($lastname)
185
-    {
186
-        $this->lastname = $lastname;
187
-    }
188
-
189
-    /**
190
-     * @return string
191
-     */
192
-    public function getAdress()
193
-    {
194
-        return $this->adress;
195
-    }
196
-
197
-    /**
198
-     * @param string $adress
199
-     */
200
-    public function setAdress($adress)
201
-    {
202
-        $this->adress = $adress;
203
-    }
204
-
205
-    /**
206
-     * @return string
207
-     */
208
-    public function getPostalCode()
209
-    {
210
-        return $this->postalCode;
211
-    }
212
-
213
-    /**
214
-     * @param string $postalCode
215
-     */
216
-    public function setPostalCode($postalCode)
217
-    {
218
-        $this->postalCode = $postalCode;
219
-    }
220
-
221
-    /**
222
-     * @return string
223
-     */
224
-    public function getCountry()
225
-    {
226
-        return $this->country;
227
-    }
228
-
229
-    /**
230
-     * @param string $country
231
-     */
232
-    public function setCountry($country)
233
-    {
234
-        $this->country = $country;
235
-    }
236
-
237
-    /**
238
-     * @return string
239
-     */
240
-    public function getState()
241
-    {
242
-        return $this->state;
243
-    }
244
-
245
-    /**
246
-     * @param string $state
247
-     */
248
-    public function setState($state)
249
-    {
250
-        $this->state = $state;
251
-    }
252
-
253
-    /**
254
-     * @return string
255
-     */
256
-    public function getAccessRights()
257
-    {
258
-        return $this->accessRights;
259
-    }
260
-
261
-    /**
262
-     * @param string $accessRights
263
-     */
264
-    public function setAccessRights($accessRights)
265
-    {
266
-        $this->accessRights = $accessRights;
267
-    }
268
-
269
-    /**
270
-     * @return \DateTime
271
-     */
272
-    public function getCreationDate()
273
-    {
274
-        return $this->creationDate;
275
-    }
276
-
277
-    /**
278
-     * @param \DateTime $creationDate
279
-     */
280
-    public function setCreationDate($creationDate)
281
-    {
282
-        $this->creationDate = $creationDate;
283
-    }
157
+				/**
158
+				 * @return string
159
+				 */
160
+				public function getFirstname()
161
+				{
162
+								return $this->firstname;
163
+				}
164
+
165
+				/**
166
+				 * @param string $firstname
167
+				 */
168
+				public function setFirstname($firstname)
169
+				{
170
+								$this->firstname = $firstname;
171
+				}
172
+
173
+				/**
174
+				 * @return string
175
+				 */
176
+				public function getLastname()
177
+				{
178
+								return $this->lastname;
179
+				}
180
+
181
+				/**
182
+				 * @param string $lastname
183
+				 */
184
+				public function setLastname($lastname)
185
+				{
186
+								$this->lastname = $lastname;
187
+				}
188
+
189
+				/**
190
+				 * @return string
191
+				 */
192
+				public function getAdress()
193
+				{
194
+								return $this->adress;
195
+				}
196
+
197
+				/**
198
+				 * @param string $adress
199
+				 */
200
+				public function setAdress($adress)
201
+				{
202
+								$this->adress = $adress;
203
+				}
204
+
205
+				/**
206
+				 * @return string
207
+				 */
208
+				public function getPostalCode()
209
+				{
210
+								return $this->postalCode;
211
+				}
212
+
213
+				/**
214
+				 * @param string $postalCode
215
+				 */
216
+				public function setPostalCode($postalCode)
217
+				{
218
+								$this->postalCode = $postalCode;
219
+				}
220
+
221
+				/**
222
+				 * @return string
223
+				 */
224
+				public function getCountry()
225
+				{
226
+								return $this->country;
227
+				}
228
+
229
+				/**
230
+				 * @param string $country
231
+				 */
232
+				public function setCountry($country)
233
+				{
234
+								$this->country = $country;
235
+				}
236
+
237
+				/**
238
+				 * @return string
239
+				 */
240
+				public function getState()
241
+				{
242
+								return $this->state;
243
+				}
244
+
245
+				/**
246
+				 * @param string $state
247
+				 */
248
+				public function setState($state)
249
+				{
250
+								$this->state = $state;
251
+				}
252
+
253
+				/**
254
+				 * @return string
255
+				 */
256
+				public function getAccessRights()
257
+				{
258
+								return $this->accessRights;
259
+				}
260
+
261
+				/**
262
+				 * @param string $accessRights
263
+				 */
264
+				public function setAccessRights($accessRights)
265
+				{
266
+								$this->accessRights = $accessRights;
267
+				}
268
+
269
+				/**
270
+				 * @return \DateTime
271
+				 */
272
+				public function getCreationDate()
273
+				{
274
+								return $this->creationDate;
275
+				}
276
+
277
+				/**
278
+				 * @param \DateTime $creationDate
279
+				 */
280
+				public function setCreationDate($creationDate)
281
+				{
282
+								$this->creationDate = $creationDate;
283
+				}
284 284
 	
285 285
 	/**
286 286
 	 * @return boolean
@@ -298,21 +298,21 @@  discard block
 block discarded – undo
298 298
 		$this->archived = $archived;
299 299
 	}
300 300
 
301
-    /**
302
-     * @return \DateTime
303
-     */
304
-    public function getUpdateDate()
305
-    {
306
-        return $this->updateDate;
307
-    }
308
-
309
-    /**
310
-     * @param \DateTime $updateDate
311
-     */
312
-    public function setUpdateDate($updateDate)
313
-    {
314
-        $this->updateDate = $updateDate;
315
-    }
301
+				/**
302
+				 * @return \DateTime
303
+				 */
304
+				public function getUpdateDate()
305
+				{
306
+								return $this->updateDate;
307
+				}
308
+
309
+				/**
310
+				 * @param \DateTime $updateDate
311
+				 */
312
+				public function setUpdateDate($updateDate)
313
+				{
314
+								$this->updateDate = $updateDate;
315
+				}
316 316
 
317 317
 
318 318
 }
Please login to merge, or discard this patch.
Braces   +25 added lines, -50 removed lines patch added patch discarded remove patch
@@ -10,8 +10,7 @@  discard block
 block discarded – undo
10 10
  * @ORM\Table(name="user")
11 11
  * @ORM\Entity
12 12
  */
13
-class User
14
-{
13
+class User {
15 14
     /**
16 15
      * @var integer
17 16
      *
@@ -109,32 +108,28 @@  discard block
 block discarded – undo
109 108
     /**
110 109
      * @return int
111 110
      */
112
-    public function getId()
113
-    {
111
+    public function getId() {
114 112
         return $this->id;
115 113
     }
116 114
 
117 115
     /**
118 116
      * @param int $id
119 117
      */
120
-    public function setId($id)
121
-    {
118
+    public function setId($id) {
122 119
         $this->id = $id;
123 120
     }
124 121
 
125 122
     /**
126 123
      * @return string
127 124
      */
128
-    public function getGuid()
129
-    {
125
+    public function getGuid() {
130 126
         return $this->guid;
131 127
     }
132 128
 
133 129
     /**
134 130
      * @param string $guid
135 131
      */
136
-    public function setGuid($guid)
137
-    {
132
+    public function setGuid($guid) {
138 133
         $this->guid = $guid;
139 134
     }
140 135
 	
@@ -149,136 +144,119 @@  discard block
 block discarded – undo
149 144
 	/**
150 145
 	 * @param AccessRight $accessRightList
151 146
 	 */
152
-	public function setAccessRightList(AccessRight $accessRightList)
153
-	{
147
+	public function setAccessRightList(AccessRight $accessRightList) {
154 148
 		$this->accessRightList = $accessRightList;
155 149
 	}
156 150
 
157 151
     /**
158 152
      * @return string
159 153
      */
160
-    public function getFirstname()
161
-    {
154
+    public function getFirstname() {
162 155
         return $this->firstname;
163 156
     }
164 157
 
165 158
     /**
166 159
      * @param string $firstname
167 160
      */
168
-    public function setFirstname($firstname)
169
-    {
161
+    public function setFirstname($firstname) {
170 162
         $this->firstname = $firstname;
171 163
     }
172 164
 
173 165
     /**
174 166
      * @return string
175 167
      */
176
-    public function getLastname()
177
-    {
168
+    public function getLastname() {
178 169
         return $this->lastname;
179 170
     }
180 171
 
181 172
     /**
182 173
      * @param string $lastname
183 174
      */
184
-    public function setLastname($lastname)
185
-    {
175
+    public function setLastname($lastname) {
186 176
         $this->lastname = $lastname;
187 177
     }
188 178
 
189 179
     /**
190 180
      * @return string
191 181
      */
192
-    public function getAdress()
193
-    {
182
+    public function getAdress() {
194 183
         return $this->adress;
195 184
     }
196 185
 
197 186
     /**
198 187
      * @param string $adress
199 188
      */
200
-    public function setAdress($adress)
201
-    {
189
+    public function setAdress($adress) {
202 190
         $this->adress = $adress;
203 191
     }
204 192
 
205 193
     /**
206 194
      * @return string
207 195
      */
208
-    public function getPostalCode()
209
-    {
196
+    public function getPostalCode() {
210 197
         return $this->postalCode;
211 198
     }
212 199
 
213 200
     /**
214 201
      * @param string $postalCode
215 202
      */
216
-    public function setPostalCode($postalCode)
217
-    {
203
+    public function setPostalCode($postalCode) {
218 204
         $this->postalCode = $postalCode;
219 205
     }
220 206
 
221 207
     /**
222 208
      * @return string
223 209
      */
224
-    public function getCountry()
225
-    {
210
+    public function getCountry() {
226 211
         return $this->country;
227 212
     }
228 213
 
229 214
     /**
230 215
      * @param string $country
231 216
      */
232
-    public function setCountry($country)
233
-    {
217
+    public function setCountry($country) {
234 218
         $this->country = $country;
235 219
     }
236 220
 
237 221
     /**
238 222
      * @return string
239 223
      */
240
-    public function getState()
241
-    {
224
+    public function getState() {
242 225
         return $this->state;
243 226
     }
244 227
 
245 228
     /**
246 229
      * @param string $state
247 230
      */
248
-    public function setState($state)
249
-    {
231
+    public function setState($state) {
250 232
         $this->state = $state;
251 233
     }
252 234
 
253 235
     /**
254 236
      * @return string
255 237
      */
256
-    public function getAccessRights()
257
-    {
238
+    public function getAccessRights() {
258 239
         return $this->accessRights;
259 240
     }
260 241
 
261 242
     /**
262 243
      * @param string $accessRights
263 244
      */
264
-    public function setAccessRights($accessRights)
265
-    {
245
+    public function setAccessRights($accessRights) {
266 246
         $this->accessRights = $accessRights;
267 247
     }
268 248
 
269 249
     /**
270 250
      * @return \DateTime
271 251
      */
272
-    public function getCreationDate()
273
-    {
252
+    public function getCreationDate() {
274 253
         return $this->creationDate;
275 254
     }
276 255
 
277 256
     /**
278 257
      * @param \DateTime $creationDate
279 258
      */
280
-    public function setCreationDate($creationDate)
281
-    {
259
+    public function setCreationDate($creationDate) {
282 260
         $this->creationDate = $creationDate;
283 261
     }
284 262
 	
@@ -293,24 +271,21 @@  discard block
 block discarded – undo
293 271
 	/**
294 272
 	 * @param boolean $archived
295 273
 	 */
296
-	public function setArchived(bool $archived)
297
-	{
274
+	public function setArchived(bool $archived) {
298 275
 		$this->archived = $archived;
299 276
 	}
300 277
 
301 278
     /**
302 279
      * @return \DateTime
303 280
      */
304
-    public function getUpdateDate()
305
-    {
281
+    public function getUpdateDate() {
306 282
         return $this->updateDate;
307 283
     }
308 284
 
309 285
     /**
310 286
      * @param \DateTime $updateDate
311 287
      */
312
-    public function setUpdateDate($updateDate)
313
-    {
288
+    public function setUpdateDate($updateDate) {
314 289
         $this->updateDate = $updateDate;
315 290
     }
316 291
 
Please login to merge, or discard this patch.
Entity/AccessRight.php 2 patches
Indentation   +38 added lines, -38 removed lines patch added patch discarded remove patch
@@ -12,49 +12,49 @@
 block discarded – undo
12 12
  */
13 13
 class AccessRight
14 14
 {
15
-    /**
16
-     * @var integer
17
-     *
18
-     * @ORM\Column(name="id", type="integer", nullable=false, options={"unsigned"=true})
19
-     * @ORM\Id
20
-     * @ORM\GeneratedValue(strategy="IDENTITY")
21
-     */
22
-    private $id;
15
+				/**
16
+				 * @var integer
17
+				 *
18
+				 * @ORM\Column(name="id", type="integer", nullable=false, options={"unsigned"=true})
19
+				 * @ORM\Id
20
+				 * @ORM\GeneratedValue(strategy="IDENTITY")
21
+				 */
22
+				private $id;
23 23
 
24
-    /**
25
-     * @var string
26
-     *
27
-     * @ORM\Column(name="guid", type="string", length=255, nullable=false)
28
-     */
29
-    private $guid;
24
+				/**
25
+				 * @var string
26
+				 *
27
+				 * @ORM\Column(name="guid", type="string", length=255, nullable=false)
28
+				 */
29
+				private $guid;
30 30
 
31
-    /**
32
-     * @var string
33
-     *
34
-     * @ORM\Column(name="name", type="string", length=255, nullable=false)
35
-     */
36
-    private $name;
31
+				/**
32
+				 * @var string
33
+				 *
34
+				 * @ORM\Column(name="name", type="string", length=255, nullable=false)
35
+				 */
36
+				private $name;
37 37
 
38
-    /**
39
-     * @var string
40
-     *
41
-     * @ORM\Column(name="access_rights", type="text", nullable=true)
42
-     */
43
-    private $accessRights;
38
+				/**
39
+				 * @var string
40
+				 *
41
+				 * @ORM\Column(name="access_rights", type="text", nullable=true)
42
+				 */
43
+				private $accessRights;
44 44
 
45
-    /**
46
-     * @var \DateTime
47
-     *
48
-     * @ORM\Column(name="creation_date", type="date", nullable=true)
49
-     */
50
-    private $creationDate;
45
+				/**
46
+				 * @var \DateTime
47
+				 *
48
+				 * @ORM\Column(name="creation_date", type="date", nullable=true)
49
+				 */
50
+				private $creationDate;
51 51
 
52
-    /**
53
-     * @var \DateTime
54
-     *
55
-     * @ORM\Column(name="update_date", type="date", nullable=true)
56
-     */
57
-    private $updateDate;
52
+				/**
53
+				 * @var \DateTime
54
+				 *
55
+				 * @ORM\Column(name="update_date", type="date", nullable=true)
56
+				 */
57
+				private $updateDate;
58 58
 	
59 59
 	/**
60 60
 	 * @return int
Please login to merge, or discard this patch.
Braces   +7 added lines, -14 removed lines patch added patch discarded remove patch
@@ -10,8 +10,7 @@  discard block
 block discarded – undo
10 10
  * @ORM\Table(name="access_right")
11 11
  * @ORM\Entity
12 12
  */
13
-class AccessRight
14
-{
13
+class AccessRight {
15 14
     /**
16 15
      * @var integer
17 16
      *
@@ -67,8 +66,7 @@  discard block
 block discarded – undo
67 66
 	/**
68 67
 	 * @param int $id
69 68
 	 */
70
-	public function setId(int $id)
71
-	{
69
+	public function setId(int $id) {
72 70
 		$this->id = $id;
73 71
 	}
74 72
 	
@@ -83,8 +81,7 @@  discard block
 block discarded – undo
83 81
 	/**
84 82
 	 * @param string $guid
85 83
 	 */
86
-	public function setGuid(string $guid)
87
-	{
84
+	public function setGuid(string $guid) {
88 85
 		$this->guid = $guid;
89 86
 	}
90 87
 	
@@ -99,8 +96,7 @@  discard block
 block discarded – undo
99 96
 	/**
100 97
 	 * @param string $name
101 98
 	 */
102
-	public function setName(string $name)
103
-	{
99
+	public function setName(string $name) {
104 100
 		$this->name = $name;
105 101
 	}
106 102
 	
@@ -115,8 +111,7 @@  discard block
 block discarded – undo
115 111
 	/**
116 112
 	 * @param string $accessRights
117 113
 	 */
118
-	public function setAccessRights(string $accessRights)
119
-	{
114
+	public function setAccessRights(string $accessRights) {
120 115
 		$this->accessRights = $accessRights;
121 116
 	}
122 117
 	
@@ -131,8 +126,7 @@  discard block
 block discarded – undo
131 126
 	/**
132 127
 	 * @param \DateTime $creationDate
133 128
 	 */
134
-	public function setCreationDate(\DateTime $creationDate)
135
-	{
129
+	public function setCreationDate(\DateTime $creationDate) {
136 130
 		$this->creationDate = $creationDate;
137 131
 	}
138 132
 	
@@ -147,8 +141,7 @@  discard block
 block discarded – undo
147 141
 	/**
148 142
 	 * @param \DateTime $updateDate
149 143
 	 */
150
-	public function setUpdateDate(\DateTime $updateDate)
151
-	{
144
+	public function setUpdateDate(\DateTime $updateDate) {
152 145
 		$this->updateDate = $updateDate;
153 146
 	}
154 147
 }
Please login to merge, or discard this patch.