original_string: public function stripTrailingSlash()
      {
          if (!$this->hasTrailingSeparator()) {
              return $this;
          }
  
          return $this->createPath(
              $this->atoms(),
              $this instanceof AbsolutePathInterface,
              false
          );
      }
code: public function stripTrailingSlash()
      {
          if (!$this->hasTrailingSeparator()) {
              return $this;
          }
  
          return $this->createPath(
              $this->atoms(),
              $this instanceof AbsolutePathInterface,
              false
          );
      }
code_tokens: public function stripTrailingSlash ( ) { if ( ! $ this -> hasTrailingSeparator ( ) ) { return $ this ; } return $ this -> createPath ( $ this -> atoms ( ) , $ this instanceof AbsolutePathInterface , false ) ; }
docstring: Strips the trailing slash from this path.
  
  @return PathInterface A new path instance with the trailing slash removed from this path. If this path has no trailing slash, the path is returned unmodified.
docstring_tokens: Strips the trailing slash from this path .