Completed
Push — master ( 7847b8...8c6753 )
by Daniele
02:28
created
src/Dataslang/DataslangApi.php 1 patch
Spacing   +10 added lines, -10 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, $xsl, $dest_path){
37
+  	public function transformToXml($xml, $xsl, $dest_path) {
38 38
   		$result = null;
39 39
   		
40 40
   		try {
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
   		return $result;
58 58
   	}
59 59
   	
60
-  	public function transformToHtml($xml, $xsl, $dest_path){
60
+  	public function transformToHtml($xml, $xsl, $dest_path) {
61 61
   		$result = null;
62 62
   		
63 63
   		try {
@@ -80,23 +80,23 @@  discard block
 block discarded – undo
80 80
   		return $result;
81 81
   	}
82 82
   
83
-	public function setTimeout($timeout){
83
+	public function setTimeout($timeout) {
84 84
 		$this->timeout = $timeout;
85 85
 	}
86 86
 	
87
-	public function getTimeout(){
87
+	public function getTimeout() {
88 88
 		return $this->timeout;
89 89
 	}
90 90
 	
91
-	public function getBaseUri(){
91
+	public function getBaseUri() {
92 92
 		return self::BASE_URI;
93 93
 	}
94 94
 	
95
-	private function getClient(){
96
-		if ($this->client === null){
95
+	private function getClient() {
96
+		if ($this->client === null) {
97 97
 			$settings = array();
98
-			$settings['base_uri'] = $this->getBaseUri();
99
-			$settings['timeout'] = $this->getTimeout();
98
+			$settings[ 'base_uri' ] = $this->getBaseUri();
99
+			$settings[ 'timeout' ] = $this->getTimeout();
100 100
 		
101 101
 			$this->client = new Client($settings);
102 102
 		}
Please login to merge, or discard this patch.