Completed
Push — master ( 6b84f3...694bac )
by Vadim
01:55
created
src/Data/AbstractStore.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -35,9 +35,9 @@  discard block
 block discarded – undo
35 35
 		return $this->setProperty('storeId',$storeId);
36 36
 	}
37 37
 
38
-    public function getStoreId(){
39
-        return $this->getProperty('storeId');
40
-    }
38
+	public function getStoreId(){
39
+		return $this->getProperty('storeId');
40
+	}
41 41
 
42 42
 	/**
43 43
 	 * The number of records considered to form a 'page'. This is used to power the built-in paging using the nextPage
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 		return $this->setProperty('pageSize',$pageSize);
50 50
 	}
51 51
 
52
-    public function getPageSize(){
53
-        return $this->getProperty('pageSize');
54
-    }
52
+	public function getPageSize(){
53
+		return $this->getProperty('pageSize');
54
+	}
55 55
 }
56 56
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@  discard block
 block discarded – undo
12 12
 	 * @param $bool
13 13
 	 * @return $this
14 14
 	 */
15
-	public function setRemoteFilter($bool){
16
-		return $this->setProperty('remoteFilter',(bool)$bool);
15
+	public function setRemoteFilter($bool) {
16
+		return $this->setProperty('remoteFilter', (bool)$bool);
17 17
 	}
18 18
 
19 19
 	/**
@@ -21,8 +21,8 @@  discard block
 block discarded – undo
21 21
 	 * @param $bool
22 22
 	 * @return $this
23 23
 	 */
24
-	public function setRemoteSort($bool){
25
-		return $this->setProperty('remoteSort',(bool)$bool);
24
+	public function setRemoteSort($bool) {
25
+		return $this->setProperty('remoteSort', (bool)$bool);
26 26
 	}
27 27
 
28 28
 	/**
@@ -31,11 +31,11 @@  discard block
 block discarded – undo
31 31
 	 * @param $storeId
32 32
 	 * @return $this
33 33
 	 */
34
-	public function setStoreId($storeId){
35
-		return $this->setProperty('storeId',$storeId);
34
+	public function setStoreId($storeId) {
35
+		return $this->setProperty('storeId', $storeId);
36 36
 	}
37 37
 
38
-    public function getStoreId(){
38
+    public function getStoreId() {
39 39
         return $this->getProperty('storeId');
40 40
     }
41 41
 
@@ -45,11 +45,11 @@  discard block
 block discarded – undo
45 45
 	 * @param $pageSize
46 46
 	 * @return $this
47 47
 	 */
48
-	public function setPageSize($pageSize){
49
-		return $this->setProperty('pageSize',$pageSize);
48
+	public function setPageSize($pageSize) {
49
+		return $this->setProperty('pageSize', $pageSize);
50 50
 	}
51 51
 
52
-    public function getPageSize(){
52
+    public function getPageSize() {
53 53
         return $this->getProperty('pageSize');
54 54
     }
55 55
 }
56 56
\ No newline at end of file
Please login to merge, or discard this patch.
src/Data/Store.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,8 @@
 block discarded – undo
5 5
 class Store extends ProxyStore
6 6
 {
7 7
 
8
-	public function setData(array $data){
9
-		return $this->setProperty('data',$data);
8
+	public function setData(array $data) {
9
+		return $this->setProperty('data', $data);
10 10
 	}
11 11
 
12 12
 }
13 13
\ No newline at end of file
Please login to merge, or discard this patch.
src/Data/Reader/Reader.php 2 patches
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -14,19 +14,19 @@
 block discarded – undo
14 14
 class Reader extends Base
15 15
 {
16 16
 
17
-    public function setRootProperty($rootProperty){
18
-    	return $this->setProperty('rootProperty',$rootProperty);
19
-    }
17
+	public function setRootProperty($rootProperty){
18
+		return $this->setProperty('rootProperty',$rootProperty);
19
+	}
20 20
 
21
-    public function getRootProperty(){
22
-    	return $this->getProperty('rootProperty');
23
-    }
21
+	public function getRootProperty(){
22
+		return $this->getProperty('rootProperty');
23
+	}
24 24
 
25
-    public function setTotalProperty($totalProperty){
26
-    	return $this->setProperty('totalProperty',$totalProperty);
27
-    }
25
+	public function setTotalProperty($totalProperty){
26
+		return $this->setProperty('totalProperty',$totalProperty);
27
+	}
28 28
 
29
-    public function getTotalProperty(){
30
-    	return $this->getProperty('totalProperty');
31
-    }
29
+	public function getTotalProperty(){
30
+		return $this->getProperty('totalProperty');
31
+	}
32 32
 }
33 33
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -14,19 +14,19 @@
 block discarded – undo
14 14
 class Reader extends Base
15 15
 {
16 16
 
17
-    public function setRootProperty($rootProperty){
18
-    	return $this->setProperty('rootProperty',$rootProperty);
17
+    public function setRootProperty($rootProperty) {
18
+    	return $this->setProperty('rootProperty', $rootProperty);
19 19
     }
20 20
 
21
-    public function getRootProperty(){
21
+    public function getRootProperty() {
22 22
     	return $this->getProperty('rootProperty');
23 23
     }
24 24
 
25
-    public function setTotalProperty($totalProperty){
26
-    	return $this->setProperty('totalProperty',$totalProperty);
25
+    public function setTotalProperty($totalProperty) {
26
+    	return $this->setProperty('totalProperty', $totalProperty);
27 27
     }
28 28
 
29
-    public function getTotalProperty(){
29
+    public function getTotalProperty() {
30 30
     	return $this->getProperty('totalProperty');
31 31
     }
32 32
 }
33 33
\ No newline at end of file
Please login to merge, or discard this patch.
src/Data/Reader/Json.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -11,12 +11,12 @@
 block discarded – undo
11 11
 
12 12
 class Json extends Reader
13 13
 {
14
-    public function setMetadataProperty($metadataProperty){
15
-    	return $this->setProperty('metadataProperty',$metadataProperty);
16
-    }
14
+	public function setMetadataProperty($metadataProperty){
15
+		return $this->setProperty('metadataProperty',$metadataProperty);
16
+	}
17 17
 
18
-    public function getMetadataProperty(){
19
-    	return $this->getProperty('metadataProperty');
20
-    }
18
+	public function getMetadataProperty(){
19
+		return $this->getProperty('metadataProperty');
20
+	}
21 21
 
22 22
 }
23 23
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,11 +11,11 @@
 block discarded – undo
11 11
 
12 12
 class Json extends Reader
13 13
 {
14
-    public function setMetadataProperty($metadataProperty){
15
-    	return $this->setProperty('metadataProperty',$metadataProperty);
14
+    public function setMetadataProperty($metadataProperty) {
15
+    	return $this->setProperty('metadataProperty', $metadataProperty);
16 16
     }
17 17
 
18
-    public function getMetadataProperty(){
18
+    public function getMetadataProperty() {
19 19
     	return $this->getProperty('metadataProperty');
20 20
     }
21 21
 
Please login to merge, or discard this patch.
src/Data/ProxyStore.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -8,34 +8,34 @@
 block discarded – undo
8 8
 class ProxyStore extends AbstractStore
9 9
 {
10 10
 
11
-	public function addField(Field $field){
12
-		return $this->add('fields',$field);
11
+	public function addField(Field $field) {
12
+		return $this->add('fields', $field);
13 13
 	}
14 14
 
15
-	public function setFields(array $fields){
16
-		foreach($fields as $field){
15
+	public function setFields(array $fields) {
16
+		foreach ($fields as $field) {
17 17
 			$this->addField($field);
18 18
 		}
19 19
 		return $this;
20 20
 	}
21 21
 
22
-	public function setAutoLoad($autoLoad){
23
-		return $this->setProperty('autoLoad',$autoLoad);
22
+	public function setAutoLoad($autoLoad) {
23
+		return $this->setProperty('autoLoad', $autoLoad);
24 24
 	}
25 25
 
26
-	public function setProxy($proxy){
27
-		return $this->setProperty('proxy',$proxy);
26
+	public function setProxy($proxy) {
27
+		return $this->setProperty('proxy', $proxy);
28 28
 	}
29 29
 
30
-	public function getProxy(){
30
+	public function getProxy() {
31 31
 		return $this->getProperty('proxy');
32 32
 	}
33 33
 	
34
-	public function setModel($model){
35
-		return $this->setProperty('model',$model);
34
+	public function setModel($model) {
35
+		return $this->setProperty('model', $model);
36 36
 	}
37 37
 	
38
-	public function getModel(){
38
+	public function getModel() {
39 39
 		return $this->getProperty('model');
40 40
 	}
41 41
 	
Please login to merge, or discard this patch.
src/Data/Field/Field.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,8 @@
 block discarded – undo
7 7
 class Field extends Base
8 8
 {
9 9
 
10
-	public function setName($name){
11
-		$this->setProperty('name',$name);
10
+	public function setName($name) {
11
+		$this->setProperty('name', $name);
12 12
 	}
13 13
 
14 14
 }
15 15
\ No newline at end of file
Please login to merge, or discard this patch.
src/Data/Proxy/Proxy.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -7,12 +7,12 @@
 block discarded – undo
7 7
 
8 8
 class Proxy extends Base
9 9
 {
10
-    public function setReader(Reader $reader){
11
-    	return $this->setProperty('reader',$reader);
12
-    }
10
+	public function setReader(Reader $reader){
11
+		return $this->setProperty('reader',$reader);
12
+	}
13 13
 
14
-    public function getReader(){
15
-    	return $this->getProperty('reader');
16
-    }
14
+	public function getReader(){
15
+		return $this->getProperty('reader');
16
+	}
17 17
 
18 18
 }
19 19
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -7,11 +7,11 @@
 block discarded – undo
7 7
 
8 8
 class Proxy extends Base
9 9
 {
10
-    public function setReader(Reader $reader){
11
-    	return $this->setProperty('reader',$reader);
10
+    public function setReader(Reader $reader) {
11
+    	return $this->setProperty('reader', $reader);
12 12
     }
13 13
 
14
-    public function getReader(){
14
+    public function getReader() {
15 15
     	return $this->getProperty('reader');
16 16
     }
17 17
 
Please login to merge, or discard this patch.
src/Data/Proxy/Server.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -4,20 +4,20 @@
 block discarded – undo
4 4
 
5 5
 abstract class Server extends Proxy
6 6
 {
7
-	public function setIdParam($idParam){
8
-		return $this->setProperty('idParam',$idParam);
7
+	public function setIdParam($idParam) {
8
+		return $this->setProperty('idParam', $idParam);
9 9
 	}
10 10
 
11
-	public function getIdParam(){
11
+	public function getIdParam() {
12 12
 		return $this->getProperty('idParam');
13 13
 	}
14 14
 
15 15
 
16
-	public function setUrl($url){
17
-		return $this->setProperty('url',$url);
16
+	public function setUrl($url) {
17
+		return $this->setProperty('url', $url);
18 18
 	}
19 19
 	
20
-	public function getUrl(){
20
+	public function getUrl() {
21 21
 		return $this->getProperty('url');
22 22
 	}
23 23
 	
Please login to merge, or discard this patch.
src/Component.php 1 patch
Spacing   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -16,52 +16,52 @@  discard block
 block discarded – undo
16 16
 {
17 17
 	use Observable, Bindable;
18 18
 
19
-	public function setHtml($html){
20
-		return $this->setProperty('html',$html);
19
+	public function setHtml($html) {
20
+		return $this->setProperty('html', $html);
21 21
 	}
22 22
 
23
-	public function setRenderTo($renderTo){
24
-		return $this->setProperty('renderTo',$renderTo);
23
+	public function setRenderTo($renderTo) {
24
+		return $this->setProperty('renderTo', $renderTo);
25 25
 	}
26 26
 
27
-	public function setCls($cls){
28
-		return $this->setProperty('renderTo',$cls);
27
+	public function setCls($cls) {
28
+		return $this->setProperty('renderTo', $cls);
29 29
 	}
30 30
 
31
-	public function setId($id){
32
-		return $this->setProperty('id',$id);
31
+	public function setId($id) {
32
+		return $this->setProperty('id', $id);
33 33
 	}
34 34
 
35
-	public function getId(){
35
+	public function getId() {
36 36
 		$this->getProperty('id');
37 37
 	}
38 38
 
39
-	public function setFlex($flex){
40
-		return $this->setProperty('flex',$flex);
39
+	public function setFlex($flex) {
40
+		return $this->setProperty('flex', $flex);
41 41
 	}
42 42
 
43
-	public function setDisabled($disabled){
44
-		return $this->setProperty('disabled',(bool)$disabled);
43
+	public function setDisabled($disabled) {
44
+		return $this->setProperty('disabled', (bool)$disabled);
45 45
 	}
46 46
 
47 47
 	/**
48 48
 	 * @param string $dock  top|bottom|left|right'
49 49
 	 * @return $this
50 50
 	 */
51
-	public function setDock($dock){
52
-		return $this->setProperty('dock',$dock);
51
+	public function setDock($dock) {
52
+		return $this->setProperty('dock', $dock);
53 53
 	}
54 54
 
55
-	public function setRegion($region){
56
-		return $this->setProperty('region',$region);
55
+	public function setRegion($region) {
56
+		return $this->setProperty('region', $region);
57 57
 	}
58 58
 
59
-	public function setWidth($width){
60
-		return $this->setProperty('width',$width);
59
+	public function setWidth($width) {
60
+		return $this->setProperty('width', $width);
61 61
 	}
62 62
 
63
-	public function setHeight($height){
64
-		return $this->setProperty('height',$height);
63
+	public function setHeight($height) {
64
+		return $this->setProperty('height', $height);
65 65
 	}
66 66
 
67 67
 	/**
@@ -70,23 +70,23 @@  discard block
 block discarded – undo
70 70
 	 * @param $frame
71 71
 	 * @return $this
72 72
 	 */
73
-	public function setFrame($frame){
74
-		return $this->setProperty('frame',(bool)$frame);
73
+	public function setFrame($frame) {
74
+		return $this->setProperty('frame', (bool)$frame);
75 75
 	}
76 76
 
77
-	public function findById($id){
78
-		return $this->search($this,'\Ext\Base','id',$id,true);
77
+	public function findById($id) {
78
+		return $this->search($this, '\Ext\Base', 'id', $id, true);
79 79
 	}
80 80
 
81
-	public function findByClass($class,$findFirst=true){
82
-		return $this->search($this,$class,null,null,$findFirst);
81
+	public function findByClass($class, $findFirst = true) {
82
+		return $this->search($this, $class, null, null, $findFirst);
83 83
 	}
84 84
 	
85
-	public function setHidden($hidden){
86
-		return $this->setProperty('hidden',(bool)$hidden);
85
+	public function setHidden($hidden) {
86
+		return $this->setProperty('hidden', (bool)$hidden);
87 87
 	}
88 88
 	
89
-	public function getHidden(){
89
+	public function getHidden() {
90 90
 		return $this->getProperty('hidden');
91 91
 	}
92 92
 	
Please login to merge, or discard this patch.