Skip to content

Commit

Permalink
Merge pull request #3 from open-source-contributions/add_php74
Browse files Browse the repository at this point in the history
Add PHP 7.4 version
  • Loading branch information
peter-gribanov committed Jan 13, 2020
2 parents d4405ba + 6217f66 commit 68583f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -8,6 +8,7 @@ notifications:
matrix:
fast_finish: true
include:
- php: 7.4
- php: 7.3
- php: 7.2
- php: 7.1
Expand Down
2 changes: 1 addition & 1 deletion lib/Block.php
Expand Up @@ -65,7 +65,7 @@ public function exists($id)
*/
public function write($data)
{
return shmop_write($this->shmid, $data, 0) !== false;
return false !== shmop_write($this->shmid, $data, 0);
}

/**
Expand Down

0 comments on commit 68583f3

Please sign in to comment.