diff --git a/src/Database/Helpers.php b/src/Database/Helpers.php index 7f927f63b..38fa11f10 100644 --- a/src/Database/Helpers.php +++ b/src/Database/Helpers.php @@ -184,9 +184,9 @@ public static function detectType($type) */ public static function loadFromFile(Connection $connection, $file) { - @set_time_limit(0); // intentionally @ + @set_time_limit(0); // @ function may be disabled - $handle = @fopen($file, 'r'); // intentionally @ + $handle = @fopen($file, 'r'); // @ is escalated to exception if (!$handle) { throw new Nette\FileNotFoundException("Cannot open file '$file'."); } diff --git a/src/Database/Structure.php b/src/Database/Structure.php index 91965eed4..69330c202 100644 --- a/src/Database/Structure.php +++ b/src/Database/Structure.php @@ -165,7 +165,6 @@ protected function needStructure() /** * @internal - * @ignore */ public function loadStructure() { diff --git a/src/Database/Table/ActiveRow.php b/src/Database/Table/ActiveRow.php index f1d341d75..e1d257fe0 100644 --- a/src/Database/Table/ActiveRow.php +++ b/src/Database/Table/ActiveRow.php @@ -38,7 +38,6 @@ public function __construct(array $data, Selection $table) /** * @internal - * @ignore */ public function setTable(Selection $table) {