Test Setup Failed
Push — master ( ab6890...8ee6cf )
by Daniele
04:10 queued 01:43
created
DataslangApi.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -12,12 +12,12 @@  discard block
 block discarded – undo
12 12
 	private $settings = array();
13 13
 	private $timeout = 2.0;
14 14
   
15
-	public function __construct(){
15
+	public function __construct() {
16 16
 		$this->initSettings();		
17 17
     	$this->client = new Client($this->settings);
18 18
 	}
19 19
 
20
-	public function validate($xml, $xsd){
20
+	public function validate($xml, $xsd) {
21 21
 		$result = null;
22 22
 		
23 23
 		try {
@@ -48,20 +48,20 @@  discard block
 block discarded – undo
48 48
 		return $result;
49 49
   	}
50 50
   
51
-  	private function initSettings(){
52
-  		$this->settings['base_uri'] = $this->getBaseUri();
53
-  		$this->settings['timeout'] = $this->getTimeout();
51
+  	private function initSettings() {
52
+  		$this->settings[ 'base_uri' ] = $this->getBaseUri();
53
+  		$this->settings[ 'timeout' ] = $this->getTimeout();
54 54
   	}
55 55
   
56
-	public function setTimeout($timeout){
56
+	public function setTimeout($timeout) {
57 57
 		$this->timeout = $timeout;
58 58
 	}
59 59
 	
60
-	public function getTimeout(){
60
+	public function getTimeout() {
61 61
 		return $this->timeout;
62 62
 	}
63 63
 	
64
-	public function getBaseUri(){
64
+	public function getBaseUri() {
65 65
 		return self::BASE_URI;
66 66
 	}
67 67
 
Please login to merge, or discard this patch.