@@ -57,7 +57,7 @@ |
||
| 57 | 57 | OAuth\Consumer $consumer, |
| 58 | 58 | OAuth\HttpClient $httpClient, |
| 59 | 59 | Configuration $config |
| 60 | - ){ |
|
| 60 | + ) { |
|
| 61 | 61 | $this->consumer = $consumer; |
| 62 | 62 | $this->httpClient = $httpClient; |
| 63 | 63 | $this->config = $config; |
@@ -153,7 +153,8 @@ |
||
| 153 | 153 | return; |
| 154 | 154 | } |
| 155 | 155 | |
| 156 | - if (isset($this->resources[$this->pageCursor + 1])) { // already loaded |
|
| 156 | + if (isset($this->resources[$this->pageCursor + 1])) { |
|
| 157 | +// already loaded |
|
| 157 | 158 | $this->itemCursor = 0; |
| 158 | 159 | $this->pageCursor++; |
| 159 | 160 | |
@@ -72,7 +72,7 @@ |
||
| 72 | 72 | Configuration $config, |
| 73 | 73 | SessionStorage $session, |
| 74 | 74 | Nette\Http\IRequest $httpRequest |
| 75 | - ){ |
|
| 75 | + ) { |
|
| 76 | 76 | parent::__construct($consumer, $httpClient, $config); |
| 77 | 77 | |
| 78 | 78 | $this->session = $session; |
@@ -103,7 +103,8 @@ |
||
| 103 | 103 | */ |
| 104 | 104 | public function handleOpen() |
| 105 | 105 | { |
| 106 | - if (!$this->client->getUser()) { // no user |
|
| 106 | + if (!$this->client->getUser()) { |
|
| 107 | +// no user |
|
| 107 | 108 | $this->open(); |
| 108 | 109 | } |
| 109 | 110 | |
@@ -14,4 +14,6 @@ |
||
| 14 | 14 | |
| 15 | 15 | namespace IPub\Flickr\Exceptions; |
| 16 | 16 | |
| 17 | -class InvalidStateException extends \Exception implements IException {} |
|
| 18 | 17 | \ No newline at end of file |
| 18 | +class InvalidStateException extends \Exception implements IException |
|
| 19 | +{ |
|
| 20 | +} |
|
| 19 | 21 | \ No newline at end of file |
@@ -14,4 +14,6 @@ |
||
| 14 | 14 | |
| 15 | 15 | namespace IPub\Flickr\Exceptions; |
| 16 | 16 | |
| 17 | -class InvalidArgumentException extends \Exception implements IException {} |
|
| 18 | 17 | \ No newline at end of file |
| 18 | +class InvalidArgumentException extends \Exception implements IException |
|
| 19 | +{ |
|
| 20 | +} |
|
| 19 | 21 | \ No newline at end of file |
@@ -14,4 +14,6 @@ |
||
| 14 | 14 | |
| 15 | 15 | namespace IPub\Flickr\Exceptions; |
| 16 | 16 | |
| 17 | -class IOException extends \RuntimeException implements IException {} |
|
| 18 | 17 | \ No newline at end of file |
| 18 | +class IOException extends \RuntimeException implements IException |
|
| 19 | +{ |
|
| 20 | +} |
|
| 19 | 21 | \ No newline at end of file |
@@ -14,4 +14,6 @@ |
||
| 14 | 14 | |
| 15 | 15 | namespace IPub\Flickr\Exceptions; |
| 16 | 16 | |
| 17 | -interface IException {} |
|
| 18 | 17 | \ No newline at end of file |
| 18 | +interface IException |
|
| 19 | +{ |
|
| 20 | +} |
|
| 19 | 21 | \ No newline at end of file |
@@ -14,4 +14,6 @@ |
||
| 14 | 14 | |
| 15 | 15 | namespace IPub\Flickr\Exceptions; |
| 16 | 16 | |
| 17 | -class FileNotFoundException extends IOException implements IException {} |
|
| 18 | 17 | \ No newline at end of file |
| 18 | +class FileNotFoundException extends IOException implements IException |
|
| 19 | +{ |
|
| 20 | +} |
|
| 19 | 21 | \ No newline at end of file |