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 49449d474..2b4f447cb 100644 --- a/src/Database/Structure.php +++ b/src/Database/Structure.php @@ -163,7 +163,6 @@ protected function needStructure() /** * @internal - * @ignore */ public function loadStructure() { diff --git a/src/Database/Table/ActiveRow.php b/src/Database/Table/ActiveRow.php index e4fa82ba3..596b7e11b 100644 --- a/src/Database/Table/ActiveRow.php +++ b/src/Database/Table/ActiveRow.php @@ -35,7 +35,6 @@ public function __construct(array $data, Selection $table) /** * @internal - * @ignore */ public function setTable(Selection $table) {