Skip to content

Commit

Permalink
Fix method names
Browse files Browse the repository at this point in the history
  • Loading branch information
sagebind committed Aug 2, 2015
1 parent ff2f068 commit ae23b0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Sync/ExtSyncSemaphore.php
Expand Up @@ -26,15 +26,15 @@ public function __construct($maxLocks = 1)
/**
* {@inheritdoc}
*/
public function lock()
public function acquire()
{
$this->semaphore->lock(-1);
}

/**
* {@inheritdoc}
*/
public function unlock()
public function release()
{
$this->semaphore->unlock();
}
Expand Down

0 comments on commit ae23b0a

Please sign in to comment.