Linker: Remove whiny FIXME comments
authorBartosz Dziewoński <matma.rex@gmail.com>
Thu, 22 Jun 2017 17:49:20 +0000 (19:49 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Thu, 22 Jun 2017 17:51:11 +0000 (19:51 +0200)
These are not actionable. Such is life, deal with it.

Change-Id: I81df045f54052b98cf798d3d42a3d730407d68ae

includes/Linker.php

index b133ecd..6942a39 100644 (file)
@@ -2094,9 +2094,6 @@ class Linker {
         * @return array
         */
        public static function tooltipAndAccesskeyAttribs( $name, array $msgParams = [] ) {
         * @return array
         */
        public static function tooltipAndAccesskeyAttribs( $name, array $msgParams = [] ) {
-               # @todo FIXME: If Sanitizer::expandAttributes() treated "false" as "output
-               # no attribute" instead of "output '' as value for attribute", this
-               # would be three lines.
                $attribs = [
                        'title' => self::titleAttrib( $name, 'withaccess', $msgParams ),
                        'accesskey' => self::accesskey( $name )
                $attribs = [
                        'title' => self::titleAttrib( $name, 'withaccess', $msgParams ),
                        'accesskey' => self::accesskey( $name )
@@ -2118,9 +2115,6 @@ class Linker {
         * @return null|string
         */
        public static function tooltip( $name, $options = null ) {
         * @return null|string
         */
        public static function tooltip( $name, $options = null ) {
-               # @todo FIXME: If Sanitizer::expandAttributes() treated "false" as "output
-               # no attribute" instead of "output '' as value for attribute", this
-               # would be two lines.
                $tooltip = self::titleAttrib( $name, $options );
                if ( $tooltip === false ) {
                        return '';
                $tooltip = self::titleAttrib( $name, $options );
                if ( $tooltip === false ) {
                        return '';