Skip to content

Commit 187df04

Browse files
committed
typos
1 parent 997f80b commit 187df04

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/Database/Helpers.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,9 @@ public static function detectType($type)
184184
*/
185185
public static function loadFromFile(Connection $connection, $file)
186186
{
187-
@set_time_limit(0); // intentionally @
187+
@set_time_limit(0); // @ function may be disabled
188188

189-
$handle = @fopen($file, 'r'); // intentionally @
189+
$handle = @fopen($file, 'r'); // @ is escalated to exception
190190
if (!$handle) {
191191
throw new Nette\FileNotFoundException("Cannot open file '$file'.");
192192
}

src/Database/Structure.php

-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ protected function needStructure()
163163

164164
/**
165165
* @internal
166-
* @ignore
167166
*/
168167
public function loadStructure()
169168
{

src/Database/Table/ActiveRow.php

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ public function __construct(array $data, Selection $table)
3535

3636
/**
3737
* @internal
38-
* @ignore
3938
*/
4039
public function setTable(Selection $table)
4140
{

0 commit comments

Comments
 (0)