original_string: private function waitForLock(Request $request): bool
      {
          $wait = 0;
          while ($this->store->isLocked($request) && $wait < 100) {
              usleep(50000);
              ++$wait;
          }
  
          return $wait < 100;
      }
code: private function waitForLock(Request $request): bool
      {
          $wait = 0;
          while ($this->store->isLocked($request) && $wait < 100) {
              usleep(50000);
              ++$wait;
          }
  
          return $wait < 100;
      }
code_tokens: private function waitForLock ( Request $ request ) : bool { $ wait = 0 ; while ( $ this -> store -> isLocked ( $ request ) && $ wait < 100 ) { usleep ( 50000 ) ; ++ $ wait ; } return $ wait < 100 ; }
docstring: Waits for the store to release a locked entry.
docstring_tokens: Waits for the store to release a locked entry .