Completed
Push — master ( 9705ed...793351 )
by Michael
01:41
created
TenderSEO/Client.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
     private $key;
10 10
     private $isTest = false;
11 11
 
12
-    public function __construct($params=[])
12
+    public function __construct($params = [])
13 13
     {
14 14
         if (isset($params['test'])) {
15 15
             $this->isTest = $params['test'];
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
         return $this->_request('article', $options);
82 82
     }
83 83
 
84
-    public function articles($options=null)
84
+    public function articles($options = null)
85 85
     {
86 86
         if (!$this->key) {
87 87
             throw new \Exception('You forgot to provide api key');
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
         return $this->_request($url, $options);
99 99
     }
100 100
 
101
-    private function _request($suffix, $options=[], $method='get')
101
+    private function _request($suffix, $options = [], $method = 'get')
102 102
     {
103 103
         if ($this->key) {
104 104
             $options['key'] = $this->key;
Please login to merge, or discard this patch.