chore: Аннотации к типам
This commit is contained in:
parent
530a3b931d
commit
730a608f9b
27 changed files with 491 additions and 134 deletions
|
|
@ -4,6 +4,11 @@ namespace ctiso;
|
|||
use Exception;
|
||||
|
||||
class File {
|
||||
/**
|
||||
* @param string $filename
|
||||
* @return string
|
||||
* @throws Exception
|
||||
*/
|
||||
static function getContents($filename) {
|
||||
$buffer = @file_get_contents($filename);
|
||||
if ($buffer !== false) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue