original_string: private function getPlayerWithMoreThanHalfSeeds()
      {
          $seedsToWin = $this->getSeedsNeededToWin();
  
          if ($this->grid[Awale::PLAYER_0]['attic'] > $seedsToWin) {
              return self::PLAYER_0;
          }
  
          if ($this->grid[Awale::PLAYER_1]['attic'] > $seedsToWin) {
              return self::PLAYER_1;
          }
  
          return null;
      }
code: private function getPlayerWithMoreThanHalfSeeds()
      {
          $seedsToWin = $this->getSeedsNeededToWin();
  
          if ($this->grid[Awale::PLAYER_0]['attic'] > $seedsToWin) {
              return self::PLAYER_0;
          }
  
          if ($this->grid[Awale::PLAYER_1]['attic'] > $seedsToWin) {
              return self::PLAYER_1;
          }
  
          return null;
      }
code_tokens: private function getPlayerWithMoreThanHalfSeeds ( ) { $ seedsToWin = $ this -> getSeedsNeededToWin ( ) ; if ( $ this -> grid [ Awale :: PLAYER_0 ] [ 'attic' ] > $ seedsToWin ) { return self :: PLAYER_0 ; } if ( $ this -> grid [ Awale :: PLAYER_1 ] [ 'attic' ] > $ seedsToWin ) { return self :: PLAYER_1 ; } return null ; }
docstring: Check if a player reached the seeds number to win and returns it.
  Or return null.
  
  @return int|null
docstring_tokens: Check if a player reached the seeds number to win and returns it . Or return null .