private function get_count_suffix( string $event, bool $increment = false ): string {

		if ( ! isset( $this->calls[ $event ] ) ) {
			$this->calls[ $event ] = 0;
		}

		if ( $increment ) {
			$this->calls[ $event ] ++;
		}

		$count = (int) $this->calls[ $event ];

		return $count > 1 ? " ({$count})" : '';
	}
private function get_count_suffix( string $event, bool $increment = false ): string {

		if ( ! isset( $this->calls[ $event ] ) ) {
			$this->calls[ $event ] = 0;
		}

		if ( $increment ) {
			$this->calls[ $event ] ++;
		}

		$count = (int) $this->calls[ $event ];

		return $count > 1 ? " ({$count})" : '';
	}
private function get_count_suffix ( string $ event , bool $ increment = false ) : string { if ( ! isset ( $ this -> calls [ $ event ] ) ) { $ this -> calls [ $ event ] = 0 ; } if ( $ increment ) { $ this -> calls [ $ event ] ++ ; } $ count = ( int ) $ this -> calls [ $ event ] ; return $ count > 1 ? " ({$count})" : '' ; }
Get the suffix to use if event occurs multiple times.

@param string  $event     Event name.
@param boolean $increment Flag to increment count.

@return string
Get the suffix to use if event occurs multiple times .