Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php namespace Stubs; use Stubs\Events\EventManager; /** * Should process return type..

Decoded Output download

<?php

namespace Stubs;

use Stubs\Events\EventManager;

/**
 * Should process return type and generate docblock.
 */
class Issue_2026
{


    /**
     * Expects:
     *  return array|\stdClass[]
     *
     * @return array|\stdClass[]
     */
    public function getClassCollection(): array
    {
    }

    /**
     * Expects:
     *  return array|bool|\stdClass[]
     *
     * @return array|bool|\stdClass[]
     */
    public function getClassCollectionOrBool(): bool|array
    {
    }

    /**
     * Expects:
     *  return array|bool|\Stubs\Events\EventManager[]
     *
     * @return array|bool|\Stubs\Events\EventManager[]
     */
    public function getInterfaceCollectionOrBool(): bool|array
    {
    }

    /**
     * Expects:
     *  return array|\Stubs\Events\EventManager[]
     *
     * @return array|\Stubs\Events\EventManager[]
     */
    public function getInterfaceCollectionOrArray(): array
    {
    }

    /**
     * Expects:
     *  return array|\Stubs\Events\EventManager[]|\stdClass[]
     *
     * @return array|\Stubs\Events\EventManager[]|\stdClass[]
     */
    public function getMixedCollectionOrArray(): array
    {
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Stubs;

use Stubs\Events\EventManager;

/**
 * Should process return type and generate docblock.
 */
class Issue_2026
{


    /**
     * Expects:
     *  return array|\stdClass[]
     *
     * @return array|\stdClass[]
     */
    public function getClassCollection(): array
    {
    }

    /**
     * Expects:
     *  return array|bool|\stdClass[]
     *
     * @return array|bool|\stdClass[]
     */
    public function getClassCollectionOrBool(): bool|array
    {
    }

    /**
     * Expects:
     *  return array|bool|\Stubs\Events\EventManager[]
     *
     * @return array|bool|\Stubs\Events\EventManager[]
     */
    public function getInterfaceCollectionOrBool(): bool|array
    {
    }

    /**
     * Expects:
     *  return array|\Stubs\Events\EventManager[]
     *
     * @return array|\Stubs\Events\EventManager[]
     */
    public function getInterfaceCollectionOrArray(): array
    {
    }

    /**
     * Expects:
     *  return array|\Stubs\Events\EventManager[]|\stdClass[]
     *
     * @return array|\Stubs\Events\EventManager[]|\stdClass[]
     */
    public function getMixedCollectionOrArray(): array
    {
    }
}

Function Calls

None

Variables

None

Stats

MD5 7d14d7c118a963827ee63c6366c57962
Eval Count 0
Decode Time 108 ms