Completed
Push — master ( 523298...58621f )
by smiley
02:46
created
src/Traits/Magic.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,21 +14,21 @@
 block discarded – undo
14 14
 
15 15
 trait Magic{
16 16
 
17
-	public function __get(string $name) {
17
+	public function __get(string $name){
18 18
 		return $this->get($name);
19 19
 	}
20 20
 
21
-	public function __set(string $name, $value) {
21
+	public function __set(string $name, $value){
22 22
 		$this->set($name, $value);
23 23
 	}
24 24
 
25
-	private function get(string $name) {
25
+	private function get(string $name){
26 26
 		$method = 'magic_get_'.$name;
27 27
 
28 28
 		return method_exists($this, $method) ? $this->$method() : null;
29 29
 	}
30 30
 
31
-	private function set(string $name, $value) {
31
+	private function set(string $name, $value){
32 32
 		$method = 'magic_set_'.$name;
33 33
 
34 34
 		if(method_exists($this, $method)){
Please login to merge, or discard this patch.
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,21 +14,21 @@
 block discarded – undo
14 14
 
15 15
 trait Magic{
16 16
 
17
-	public function __get(string $name) {
17
+	public function __get(string $name){
18 18
 		return $this->get($name);
19 19
 	}
20 20
 
21
-	public function __set(string $name, $value) {
21
+	public function __set(string $name, $value){
22 22
 		$this->set($name, $value);
23 23
 	}
24 24
 
25
-	private function get(string $name) {
25
+	private function get(string $name){
26 26
 		$method = 'magic_get_'.$name;
27 27
 
28 28
 		return method_exists($this, $method) ? $this->$method() : null;
29 29
 	}
30 30
 
31
-	private function set(string $name, $value) {
31
+	private function set(string $name, $value){
32 32
 		$method = 'magic_set_'.$name;
33 33
 
34 34
 		if(method_exists($this, $method)){
Please login to merge, or discard this patch.