Finally fix files

This commit is contained in:
Daniil Gentili 2019-12-28 20:28:29 +01:00
parent c2b5275819
commit 08c3752048
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
4 changed files with 7 additions and 5 deletions

View File

@ -5,8 +5,10 @@ php:
- '7.0' - '7.0'
- '5.6' - '5.6'
allow_failures:
- php: '5.6' jobs:
allow_failures:
- php: '5.6'
before_install: before_install:
- echo "phar.readonly = 0" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - echo "phar.readonly = 0" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini

2
docs

@ -1 +1 @@
Subproject commit 76640a01adf8bfc39e2cc4e3fd2dd586af47c359 Subproject commit 757d12fbdda97d22a20d565be8e0aea64ed34cad

View File

@ -815,7 +815,7 @@ class TL
!\is_array($arguments[$current_argument['name']]) !\is_array($arguments[$current_argument['name']])
|| !( || !(
isset($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'] && $this->API->settings['upload']['allow_automatic_upload']

View File

@ -10,7 +10,7 @@ function returnMe($res)
} }
function __coalesce($ifNotNull, $then) function __coalesce($ifNotNull, $then)
{ {
return $ifNotNull ? $ifNotNull : $then; return $ifNotNull ?: $then;
} }
function __destructure($list, $value) function __destructure($list, $value)
{ {