Completed
Push — master ( a20446...06e283 )
by Daniele
02:35
created
src/Dataslang/DataslangApi.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 	private $settings = array();
13 13
 	private $timeout = 7;
14 14
 
15
-	public function validate($xml, $xsd){
15
+	public function validate($xml, $xsd) {
16 16
 		$result = null;
17 17
 
18 18
 		try {
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 		return $result;
35 35
   	}
36 36
   	
37
-  	public function transformToXml($xml){
37
+  	public function transformToXml($xml) {
38 38
   		$result = null;
39 39
   		
40 40
   		try {
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
   		return $result;
56 56
   	}
57 57
   	
58
-  	public function transformToHtml($xml, $xsl, $dest_path){
58
+  	public function transformToHtml($xml, $xsl, $dest_path) {
59 59
   		$result = null;
60 60
   		
61 61
   		try {
@@ -78,22 +78,22 @@  discard block
 block discarded – undo
78 78
   		return $result;
79 79
   	}
80 80
   
81
-	public function setTimeout($timeout){
81
+	public function setTimeout($timeout) {
82 82
 		$this->timeout = $timeout;
83 83
 	}
84 84
 	
85
-	public function getTimeout(){
85
+	public function getTimeout() {
86 86
 		return $this->timeout;
87 87
 	}
88 88
 	
89
-	public function getBaseUri(){
89
+	public function getBaseUri() {
90 90
 		return self::BASE_URI;
91 91
 	}
92 92
 	
93
-	private function getClient(){
93
+	private function getClient() {
94 94
 		$settings = array();
95
-		$settings['base_uri'] = $this->getBaseUri();
96
-		$settings['timeout'] = $this->getTimeout();
95
+		$settings[ 'base_uri' ] = $this->getBaseUri();
96
+		$settings[ 'timeout' ] = $this->getTimeout();
97 97
 		
98 98
 		return new Client($settings);
99 99
 	}
Please login to merge, or discard this patch.