"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Neos.Cache/Classes/Backend/TaggableMultiBackend.php" between
flow-development-collection-5.2.2.tar.gz and flow-development-collection-5.2.3.tar.gz

About: TYPO3 Flow is a web application platform enabling developers creating fast, reliable and complex web solutions ("the next level of PHP programming"; old name "FLOW3").

TaggableMultiBackend.php  (flow-development-collection-5.2.2):TaggableMultiBackend.php  (flow-development-collection-5.2.3)
skipping to change at line 33 skipping to change at line 33
/** /**
* @param string $backendClassName * @param string $backendClassName
* @param array $backendOptions * @param array $backendOptions
* @return BackendInterface * @return BackendInterface
* @throws \Throwable * @throws \Throwable
*/ */
protected function buildSubBackend(string $backendClassName, array $backendO ptions): ?BackendInterface protected function buildSubBackend(string $backendClassName, array $backendO ptions): ?BackendInterface
{ {
$backend = null; $backend = null;
if (!is_a($backendClassName, TaggableBackendInterface::class)) { if (!is_sublcass_of($backendClassName, TaggableBackendInterface::class)) {
return $backend; return $backend;
} }
try { try {
$backend = $this->instantiateBackend($backendClassName, $backendOpti ons, $this->environmentConfiguration); $backend = $this->instantiateBackend($backendClassName, $backendOpti ons, $this->environmentConfiguration);
$backend->setCache($this->cache); $backend->setCache($this->cache);
} catch (\Throwable $t) { } catch (\Throwable $t) {
$this->handleError($t); $this->handleError($t);
$backend = null; $backend = null;
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)