Skip to content

Commit cee2292

Browse files
Add files via upload
1 parent 8d347b0 commit cee2292

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

src/Db.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,8 @@ public function runApi() // Управление получением данны
281281
public function setTemp($temp)
282282
{
283283
if (is_numeric($temp)) {$temp = intval($temp);}
284-
if (is_float($temp)) {$temp = float($temp);}
285-
$this->temp = $temp;
284+
if (is_float($temp)) {$temp = float($temp);}
285+
$this->temp = $temp;
286286
}
287287

288288
/**
@@ -291,8 +291,8 @@ public function setTemp($temp)
291291
public function setApi($api)
292292
{
293293
if (is_numeric($api)) {$api = intval($api);}
294-
if (is_float($api)) {$api = float($api);}
295-
$this->api = $api;
294+
if (is_float($api)) {$api = float($api);}
295+
$this->api = $api;
296296
}
297297

298298
/**
@@ -301,8 +301,8 @@ public function setApi($api)
301301
public function setCached($cached)
302302
{
303303
if (is_numeric($cached)) {$cached = intval($cached);}
304-
if (is_float($cached)) {$cached = float($cached);}
305-
$this->cached = $cached;
304+
if (is_float($cached)) {$cached = float($cached);}
305+
$this->cached = $cached;
306306
}
307307

308308
/**
@@ -311,8 +311,8 @@ public function setCached($cached)
311311
public function setCacheLifetime($cache_lifetime)
312312
{
313313
if (is_numeric($cache_lifetime)) {$cache_lifetime = intval($cache_lifetime);}
314-
if (is_float($cache_lifetime)) {$cache_lifetime = float($cache_lifetime);}
315-
$this->cache_lifetime = $cache_lifetime;
314+
if (is_float($cache_lifetime)) {$cache_lifetime = float($cache_lifetime);}
315+
$this->cache_lifetime = $cache_lifetime;
316316
}
317317

318318
/**
@@ -329,8 +329,8 @@ public function setExport($export)
329329
public function setSize($size)
330330
{
331331
if (is_numeric($size)) {$size = intval($size);}
332-
if (is_float($size)) {$size = float($size);}
333-
$this->size = $size;
332+
if (is_float($size)) {$size = float($size);}
333+
$this->size = $size;
334334
}
335335

336336
/**
@@ -339,8 +339,8 @@ public function setSize($size)
339339
public function setMaxSize($max_size)
340340
{
341341
if (is_numeric($max_size)) {$max_size = intval($max_size);}
342-
if (is_float($max_size)) {$max_size = float($max_size);}
343-
$this->max_size = $max_size;
342+
if (is_float($max_size)) {$max_size = float($max_size);}
343+
$this->max_size = $max_size;
344344
}
345345

346346
/**
@@ -397,8 +397,8 @@ public function setKey($key)
397397
public function setCrypt($crypt)
398398
{
399399
if (is_numeric($crypt)) {$crypt = intval($crypt);}
400-
if (is_float($crypt)) {$crypt = float($crypt);}
401-
$this->crypt = $crypt;
400+
if (is_float($crypt)) {$crypt = float($crypt);}
401+
$this->crypt = $crypt;
402402
}
403403

404404
/**

src/FileInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function setType($type);
2424
* @return string Path to file
2525
* @throws dbException You must specify the type of file
2626
*/
27-
27+
2828
public function getPath();
2929

3030
/**
@@ -46,7 +46,7 @@ public function put($data);
4646
* @return boolean
4747
*/
4848
public function exists();
49-
49+
5050
/**
5151
* Removing file
5252
* @return boolean

src/Relation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public function belongsTo($table)
142142
{
143143
$this->setTable('foreign', $table);
144144
$this->setRelationType(__FUNCTION__);
145-
145+
146146
return $this;
147147
}
148148

0 commit comments

Comments
 (0)