original_string: public function getCurrentScope()
      {
          $key = request(Scope::QUERY_NAME);
  
          return $this->scopes->first(function ($scope) use ($key) {
              return $scope->key == $key;
          });
      }
code: public function getCurrentScope()
      {
          $key = request(Scope::QUERY_NAME);
  
          return $this->scopes->first(function ($scope) use ($key) {
              return $scope->key == $key;
          });
      }
code_tokens: public function getCurrentScope ( ) { $ key = request ( Scope :: QUERY_NAME ) ; return $ this -> scopes -> first ( function ( $ scope ) use ( $ key ) { return $ scope -> key == $ key ; } ) ; }
docstring: Get current scope.
  
  @return Scope|null
docstring_tokens: Get current scope .