Custom builder class not being used

Created on 20 July 2023, 11 months ago

Problem/Motivation

The logic in IconsetManager that checks for if (!empty($definition->builder)) doesn't fire correctly because the StrategyDefinition class uses a magic __get method, which doesn't work with empty() (corresponding __isset is needed.)

Steps to reproduce

Define a custom builder class.

Proposed resolution

Change code to

    $builder = $definition->builder;
    if (!empty($builder)) {

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jhedstrom Portland, OR

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024