Finally fix files
This commit is contained in:
parent
c2b5275819
commit
08c3752048
|
@ -5,6 +5,8 @@ php:
|
|||
- '7.0'
|
||||
- '5.6'
|
||||
|
||||
|
||||
jobs:
|
||||
allow_failures:
|
||||
- php: '5.6'
|
||||
|
||||
|
|
2
docs
2
docs
|
@ -1 +1 @@
|
|||
Subproject commit 76640a01adf8bfc39e2cc4e3fd2dd586af47c359
|
||||
Subproject commit 757d12fbdda97d22a20d565be8e0aea64ed34cad
|
|
@ -815,7 +815,7 @@ class TL
|
|||
!\is_array($arguments[$current_argument['name']])
|
||||
|| !(
|
||||
isset($arguments[$current_argument['name']]['_'])
|
||||
&& $this->constructors->findByPredicate($arguments[$current_argument['name']]['_']) === 'InputFile'
|
||||
&& $this->constructors->findByPredicate($arguments[$current_argument['name']]['_'])['type'] === 'InputFile'
|
||||
)
|
||||
)
|
||||
&& $this->API->settings['upload']['allow_automatic_upload']
|
||||
|
|
|
@ -10,7 +10,7 @@ function returnMe($res)
|
|||
}
|
||||
function __coalesce($ifNotNull, $then)
|
||||
{
|
||||
return $ifNotNull ? $ifNotNull : $then;
|
||||
return $ifNotNull ?: $then;
|
||||
}
|
||||
function __destructure($list, $value)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user