projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
web
/
core
/
lib
/
Drupal
/
Component
/
Gettext
/
PoStreamReader.php
diff --git
a/web/core/lib/Drupal/Component/Gettext/PoStreamReader.php
b/web/core/lib/Drupal/Component/Gettext/PoStreamReader.php
index f84d2514c0c892b03b48ad0e33341cb295886357..9548ea7ea225c70ec5b52c1303d87c741a128eae 100644
(file)
--- 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.
*
* 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() {
* 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().
*
/**
* Implements Drupal\Component\Gettext\PoStreamInterface::close().
*
- * @throws Exception
+ * @throws
\
Exception
* If the stream is not open.
*/
public function close() {
* 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;
}
$this->_errors[] = SafeMarkup::format('The translation stream %uri ended unexpectedly at line %line.', $log_vars);
return FALSE;
}
+
+ return;
}
/**
}
/**