Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292357

Error in generated documentation for extensions of namespaced classes

$
0
0

This looks to be a general problem in how the documentation is being generated. It seems like it is interpreting " extends \Exception" like " extends Exception". This looks like it apples to all extensions of namespaced classes - eg StatementInterface reads:

interface \Drupal\Core\Database\StatementInterface extends \Drupal\Core\Database\Traversable

but the code is

interface StatementInterface extends \Traversable {

The doc page for TempStoreException says

class \Drupal\Core\TempStore\TempStoreException extends \Drupal\Core\TempStore\Exception

I think that should be just \Exception.

class TempStoreException extends \Exception {}

Viewing all articles
Browse latest Browse all 292357

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>