Mercurial > hg > isophonics-drupal-site
diff core/lib/Drupal/Component/Gettext/PoStreamReader.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children | 129ea1e6d783 |
line wrap: on
line diff
--- a/core/lib/Drupal/Component/Gettext/PoStreamReader.php Mon Apr 23 09:33:26 2018 +0100 +++ b/core/lib/Drupal/Component/Gettext/PoStreamReader.php Mon Apr 23 09:46:53 2018 +0100 @@ -146,7 +146,7 @@ * Opens the stream and reads the header. The stream is ready for reading * items after. * - * @throws Exception + * @throws \Exception * If the URI is not yet set. */ public function open() { @@ -162,7 +162,7 @@ /** * Implements Drupal\Component\Gettext\PoStreamInterface::close(). * - * @throws Exception + * @throws \Exception * If the stream is not open. */ public function close() { @@ -506,6 +506,8 @@ $this->_errors[] = SafeMarkup::format('The translation stream %uri ended unexpectedly at line %line.', $log_vars); return FALSE; } + + return; } /**