Skip to content

Commit 6846746

Browse files
committed
typos
1 parent edd353b commit 6846746

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
@@ -165,7 +165,6 @@ protected function needStructure()
165165

166166
/**
167167
* @internal
168-
* @ignore
169168
*/
170169
public function loadStructure()
171170
{

src/Database/Table/ActiveRow.php

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

3939
/**
4040
* @internal
41-
* @ignore
4241
*/
4342
public function setTable(Selection $table)
4443
{

0 commit comments

Comments
 (0)