projects
/
Packages
/
TYPO3.CMS.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[BUGFIX] Empty __call() function hides implementation errors
[Packages/TYPO3.CMS.git]
/
typo3
/
sysext
/
core
/
Classes
/
Resource
/
AbstractRepository.php
diff --git
a/typo3/sysext/core/Classes/Resource/AbstractRepository.php
b/typo3/sysext/core/Classes/Resource/AbstractRepository.php
index
d15fc3e
..
667d102
100644
(file)
--- a/
typo3/sysext/core/Classes/Resource/AbstractRepository.php
+++ b/
typo3/sysext/core/Classes/Resource/AbstractRepository.php
@@
-274,10
+274,12
@@
abstract class AbstractRepository implements \TYPO3\CMS\Extbase\Persistence\Repo
*
* @param string $method Name of the method
* @param array $arguments The arguments
*
* @param string $method Name of the method
* @param array $arguments The arguments
+ *
+ * @throws \BadMethodCallException
* @return void
*/
public function __call($method, $arguments) {
* @return void
*/
public function __call($method, $arguments) {
- // deliberately empty
+ throw new \BadMethodCallException('Repository method "' . $method . '" is not implemented.', 1378918410);
}
/**
}
/**