From f638e0cacd3b87e30492f154661b8e3ac1d0f151 Mon Sep 17 00:00:00 2001 From: fab2s Date: Mon, 29 Apr 2024 21:12:25 +0200 Subject: [PATCH] Typos --- README.md | 10 +++++----- composer.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2b0a678..62f285c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Dt0 [![CI](https://github.com/fab2s/dt0/actions/workflows/ci.yml/badge.svg)](https://github.com/fab2s/dt0/actions/workflows/ci.yml) [![QA](https://github.com/fab2s/dt0/actions/workflows/qa.yml/badge.svg)](https://github.com/fab2s/dt0/actions/workflows/qa.yml) [![codecov](https://codecov.io/gh/fab2s/dt0/graph/badge.svg?token=VRX16UUB7Y)](https://codecov.io/gh/fab2s/dt0) [![Latest Stable Version](http://poser.pugx.org/fab2s/dt0/v)](https://packagist.org/packages/fab2s/dt0) [![Total Downloads](http://poser.pugx.org/fab2s/dt0/downloads)](https://packagist.org/packages/fab2s/dt0) [![Monthly Downloads](http://poser.pugx.org/fab2s/dt0/d/monthly)](https://packagist.org/packages/fab2s/dt0) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat)](http://makeapullrequest.com) [![License](http://poser.pugx.org/fab2s/dt0/license)](https://packagist.org/packages/fab2s/dt0) -`Dt0` (_DeeTO_ or _DeTZerO_) is a [DTO](https://en.wikipedia.org/wiki/Data_transfer_object) (_Data-Transport-Object_) PHP implementation that can both secure mutability and implement convenient ways to take control over input and output in various formats. +`Dt0` (_DeeTO_ or _DeTZerO_) is a [DTO](https://en.wikipedia.org/wiki/Data_transfer_object) (_Data-Transfer-Object_) PHP implementation that can both secure mutability and implement convenient ways to take control over input and output in various formats. Any class extending `Dt0` will have its public properties, including `readonly` ones, hydrate-able from all formats supported: array, json string, and instances. @@ -239,8 +239,8 @@ $dt0->propRenamed; // 'default' $dt0->toArray(); /** [ - 'propClassCasted' => 'Oh', - 'propCasted' => 'Ho', + 'propClassCasted' => 'Ho', + 'propCasted' => 'Oh', 'propRenamed' => 'default', ] */ @@ -249,8 +249,8 @@ $dt0->toArray(); $dt0->toJsonArray(); /** [ - 'propClassCasted' => 'Oh', - 'propCasted' => 'Ho', + 'propClassCasted' => 'Ho', + 'propCasted' => 'Oh', 'outputName' => 'default', ] */ diff --git a/composer.json b/composer.json index b059a99..abb1209 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ "source": "https://github.com/fab2s/dt0" }, "keywords": [ - "Data-Transport-Object", + "Data-Transfer-Object", "DTO", "DT0", "symfony",