mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Fix coding standards in Configure/
This commit is contained in:
parent
b06e15ce6f
commit
c8b113ac91
3 changed files with 5 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
||||||
* @package Cake.Core
|
* @package Cake.Core
|
||||||
*/
|
*/
|
||||||
interface ConfigReaderInterface {
|
interface ConfigReaderInterface {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Read method is used for reading configuration information from sources.
|
* Read method is used for reading configuration information from sources.
|
||||||
* These sources can either be static resources like files, or dynamic ones like
|
* These sources can either be static resources like files, or dynamic ones like
|
||||||
|
@ -28,4 +29,5 @@ interface ConfigReaderInterface {
|
||||||
* @return array An array of data to merge into the runtime configuration
|
* @return array An array of data to merge into the runtime configuration
|
||||||
*/
|
*/
|
||||||
public function read($key);
|
public function read($key);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -134,4 +134,5 @@ class IniReader implements ConfigReaderInterface {
|
||||||
}
|
}
|
||||||
return $values;
|
return $values;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
* @package Cake.Configure
|
* @package Cake.Configure
|
||||||
*/
|
*/
|
||||||
class PhpReader implements ConfigReaderInterface {
|
class PhpReader implements ConfigReaderInterface {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The path this reader finds files on.
|
* The path this reader finds files on.
|
||||||
*
|
*
|
||||||
|
@ -86,4 +87,5 @@ class PhpReader implements ConfigReaderInterface {
|
||||||
}
|
}
|
||||||
return $config;
|
return $config;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue