Doctrine Common
  1. Doctrine Common
  2. DCOM-78

ZendDataCache, Can't use method return value in write context

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.2
    • Component/s: Caching
    • Labels:
      None

      Description

      On line 70, empty($this->getNamespace()).

      empty() works only with variables so you need to assign the namespace to something before using empty().

      Fatal error: Can't use method return value in write context in Doctrine/Common/Cache/ZendDataCache.php on line 70

        Activity

        Hide
        Benjamin Eberlei added a comment -

        Fixed

        Show
        Benjamin Eberlei added a comment - Fixed

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Matti Niemelä
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: