Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Vlad Bukhanets
/
immoscout24-api-php
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Merge Requests
0
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
18600cf5
authored
2020-08-10 13:14:20 +0200
by
fehrlich
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
minor php74 fix
1 parent
0668b320
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
src/ImmoScoutAPI.php
src/ImmoScoutAPI.php
View file @
18600cf
...
...
@@ -133,8 +133,10 @@ abstract class ImmoScoutAPI extends GuzzleClient
$token_secret
=
''
;
if
(
$authorized
)
{
$tokenArray
=
static
::
restoreAccessToken
();
$token
=
$tokenArray
[
0
];
$token_secret
=
$tokenArray
[
1
];
if
(
$tokenArray
&&
is_array
(
$tokenArray
)){
$token
=
$tokenArray
[
0
];
$token_secret
=
$tokenArray
[
1
];
}
}
$stack
=
HandlerStack
::
create
();
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment