X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Flib%2FDrupal%2FComponent%2FGettext%2FPoStreamReader.php;fp=web%2Fcore%2Flib%2FDrupal%2FComponent%2FGettext%2FPoStreamReader.php;h=9548ea7ea225c70ec5b52c1303d87c741a128eae;hp=f84d2514c0c892b03b48ad0e33341cb295886357;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/core/lib/Drupal/Component/Gettext/PoStreamReader.php b/web/core/lib/Drupal/Component/Gettext/PoStreamReader.php index f84d2514c..9548ea7ea 100644 --- a/web/core/lib/Drupal/Component/Gettext/PoStreamReader.php +++ b/web/core/lib/Drupal/Component/Gettext/PoStreamReader.php @@ -146,7 +146,7 @@ class PoStreamReader implements PoStreamInterface, PoReaderInterface { * 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 @@ class PoStreamReader implements PoStreamInterface, PoReaderInterface { /** * Implements Drupal\Component\Gettext\PoStreamInterface::close(). * - * @throws Exception + * @throws \Exception * If the stream is not open. */ public function close() { @@ -506,6 +506,8 @@ class PoStreamReader implements PoStreamInterface, PoReaderInterface { $this->_errors[] = SafeMarkup::format('The translation stream %uri ended unexpectedly at line %line.', $log_vars); return FALSE; } + + return; } /**