@@ -189,7 +189,7 @@ |
||
189 | 189 | * $tag->tagged->posts; |
190 | 190 | * |
191 | 191 | * @param string $alias |
192 | - * @return RecordEntity|RecordIterator |
|
192 | + * @return null|EntityInterface |
|
193 | 193 | */ |
194 | 194 | public function __get($alias) |
195 | 195 | { |
@@ -135,9 +135,9 @@ |
||
135 | 135 | |
136 | 136 | $vector = $this->createIV(openssl_cipher_iv_length($this->cipher)); |
137 | 137 | |
138 | - try{ |
|
138 | + try { |
|
139 | 139 | $serialized = json_encode($data); |
140 | - } catch (\ErrorException $e){ |
|
140 | + } catch (\ErrorException $e) { |
|
141 | 141 | throw new EncrypterException("Unsupported data format", null, $e); |
142 | 142 | } |
143 | 143 |