| @@ -61,13 +61,13 @@ discard block | ||
| 61 | 61 | */ | 
| 62 | 62 |  	public function store($key, $timeout, array $data = array()) { | 
| 63 | 63 | $key = trim(strtolower($key)); | 
| 64 | -		if(!in_array($key, $this->services)) { | |
| 64 | +		if (!in_array($key, $this->services)) { | |
| 65 | 65 | $this->services[] = $key; | 
| 66 | 66 |  		} else { | 
| 67 | 67 |  			throw new Exception("Duplicate service: {$key}"); | 
| 68 | 68 | } | 
| 69 | 69 | |
| 70 | -		if($this->has($key)) { | |
| 70 | +		if ($this->has($key)) { | |
| 71 | 71 |  			$this->updateService->bindValue('key', $key); | 
| 72 | 72 |  			$this->updateService->bindValue('timeout', $timeout); | 
| 73 | 73 | $this->updateService->execute(); | 
| @@ -109,7 +109,7 @@ discard block | ||
| 109 | 109 | $this->selectServices->execute(); | 
| 110 | 110 | $services = $this->selectServices->fetchAll(PDO::FETCH_ASSOC); | 
| 111 | 111 | $result = array(); | 
| 112 | -		foreach($services as $service) { | |
| 112 | +		foreach ($services as $service) { | |
| 113 | 113 | $result[] = $service['service_key']; | 
| 114 | 114 | } | 
| 115 | 115 | $this->selectServices->closeCursor(); |