"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Core/Configure.php" between
cakephp-4.0.1.tar.gz and cakephp-4.0.2.tar.gz

About: CakePHP is a rapid development framework for PHP applications. Source code.

Configure.php  (cakephp-4.0.1):Configure.php  (cakephp-4.0.2)
skipping to change at line 277 skipping to change at line 277
return isset(static::$_engines[$name]); return isset(static::$_engines[$name]);
} }
/** /**
* Gets the names of the configured Engine objects. * Gets the names of the configured Engine objects.
* *
* @return string[] * @return string[]
*/ */
public static function configured(): array public static function configured(): array
{ {
return array_keys(static::$_engines); $engines = array_keys(static::$_engines);
return array_map(function ($key) {
return (string)$key;
}, $engines);
} }
/** /**
* Remove a configured engine. This will unset the engine * Remove a configured engine. This will unset the engine
* and make any future attempts to use it cause an Exception. * and make any future attempts to use it cause an Exception.
* *
* @param string $name Name of the engine to drop. * @param string $name Name of the engine to drop.
* @return bool Success * @return bool Success
*/ */
public static function drop(string $name): bool public static function drop(string $name): bool
 End of changes. 1 change blocks. 
1 lines changed or deleted 5 lines changed or added

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