@@ -281,8 +281,8 @@ public function runApi() // Управление получением данны
281
281
public function setTemp ($ temp )
282
282
{
283
283
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 ;
286
286
}
287
287
288
288
/**
@@ -291,8 +291,8 @@ public function setTemp($temp)
291
291
public function setApi ($ api )
292
292
{
293
293
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 ;
296
296
}
297
297
298
298
/**
@@ -301,8 +301,8 @@ public function setApi($api)
301
301
public function setCached ($ cached )
302
302
{
303
303
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 ;
306
306
}
307
307
308
308
/**
@@ -311,8 +311,8 @@ public function setCached($cached)
311
311
public function setCacheLifetime ($ cache_lifetime )
312
312
{
313
313
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 ;
316
316
}
317
317
318
318
/**
@@ -329,8 +329,8 @@ public function setExport($export)
329
329
public function setSize ($ size )
330
330
{
331
331
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 ;
334
334
}
335
335
336
336
/**
@@ -339,8 +339,8 @@ public function setSize($size)
339
339
public function setMaxSize ($ max_size )
340
340
{
341
341
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 ;
344
344
}
345
345
346
346
/**
@@ -397,8 +397,8 @@ public function setKey($key)
397
397
public function setCrypt ($ crypt )
398
398
{
399
399
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 ;
402
402
}
403
403
404
404
/**
0 commit comments