Releases: hnhdigital-os/laravel-helper-collection
v3.0.3
Full Changelog: 3.0.2...3.0.3
v3.0.2
Update composer.json
v3.0.1
Update to support Laravel 10
v3.0.0
Updated to Laravel 9
v2.0.2
Improved return types
v2.0.1
Made method compatible
v2.0.0
Merge pull request #8 from hnhdigital-os/analysis-BMa2Mg Apply fixes from StyleCI
v1.3.0
Fixed the UuidTrait migration traits namespace.
Deprecation Notice: Class HnhDigital\HelperCollection\UuidTrait located in ./vendor/hnhdigital-os/laravel-helper-collection/src/Migrations/UuidTrait.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0.
v1.2.5
HasCompositePrimaryKey has updated instructions due to an error that occurs when no results are found.
Illuminate\Database\Eloquent\Model and Illuminate\Database\Eloquent\Concerns\HasAttributes define the same property ($mutatorCache) in the composition of App\Models\TechDataStockSummary. However, the definition differs and is considered incompatible.
By declaring the $mutatorCache
in the top level model seems to resolve this.
use App\Models\Traits\SummaryKeyTrait;
use HnhDigital\HelperCollection\Traits\HasCompositePrimaryKey;
use Illuminate\Database\Eloquent\Concerns\HasAttributes;
class Classname
{
use HasAttributes, HasCompositePrimaryKey {
HasAttributes::getAttribute as eloquentGetAttribute;
HasCompositePrimaryKey::getAttribute insteadof HasAttributes;
}
use SummaryKeyTrait;
protected static $mutatorCache = [];
}
v1.2.4
Add getAttribute method override when using a composite key