Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/Expo.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function unsubscribe($interest, $token = null)
/**
* @param string|null $accessToken
*/
public function setAccessToken(string $accessToken = null) {
public function setAccessToken(?string $accessToken = null) {
$this->accessToken = $accessToken;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/ExpoRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ public function retrieve(string $key);
*
* @return bool
*/
public function forget(string $key, string $value = null): bool;
public function forget(string $key, ?string $value = null): bool;
}
2 changes: 1 addition & 1 deletion lib/Repositories/ExpoFileDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function retrieve(string $key)
*
* @return bool
*/
public function forget(string $key, string $value = null): bool
public function forget(string $key, ?string $value = null): bool
{
$storageInstance = null;

Expand Down