Legacy code. Bill Gates would have been proud

Our site is going through a port to Symfony2 from an  patchwork of in-house framework attempts. Every now and then, we stumble across land mines as we are refactoring. Like this one.

    /**
     * probably returns this object's primary key in the db
     *
     * @return int
     * @todo What the hell? PROBABLY returns it?
     */
    public function getId()
    {
        return $this->id;
    }


No comments:

Post a Comment