original_string: protected function validatePasswordWithDefaults(array $credentials)
      {
          [$password, $confirm] = [
              $credentials['password'],
              $credentials['password_confirmation'],
          ];
  
          return $password === $confirm && mb_strlen($password) >= 8;
      }
code: protected function validatePasswordWithDefaults(array $credentials)
      {
          [$password, $confirm] = [
              $credentials['password'],
              $credentials['password_confirmation'],
          ];
  
          return $password === $confirm && mb_strlen($password) >= 8;
      }
code_tokens: protected function validatePasswordWithDefaults ( array $ credentials ) { [ $ password , $ confirm ] = [ $ credentials [ 'password' ] , $ credentials [ 'password_confirmation' ] , ] ; return $ password === $ confirm && mb_strlen ( $ password ) >= 8 ; }
docstring: Determine if the passwords are valid for the request.
  
  @param  array  $credentials
  @return bool
docstring_tokens: Determine if the passwords are valid for the request .