Skip to content

Commit 746d8d2

Browse files
committed
Remoção da função applyLength em alguns campos
1 parent 5e604da commit 746d8d2

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 1.0.4
4+
5+
* Correção de bugs.
6+
37
## 1.0.3
48

59
* Correção de bugs.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Os atributos **opcionais** do Pix são:
7878

7979
## Como utilizar?
8080

81-
Em [sample/pix.php](sample/pix.php) você encontra um exemplo de implementação. Esta biblioteca é bem simples de utilizar e tudo que você precisa fazer é solicitar ao usuário ou ter os seguintes dados para gerar o Pix:
81+
Em [samples/pix.php](samples/pix.php) você encontra um exemplo de implementação. Esta biblioteca é bem simples de utilizar e tudo que você precisa fazer é solicitar ao usuário ou ter os seguintes dados para gerar o Pix:
8282

8383
Obrigatórios:
8484

src/Payload.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,11 @@ public function setDescription ( string $description )
155155
* @param string $merchantName Pix merchant name.
156156
* @since 1.0.0
157157
* @since 1.0.2 Removed character limit.
158+
* @since 1.0.3 Removed applyLength function.
158159
* @return self
159160
*/
160161
public function setMerchantName ( string $merchantName )
161-
{ $this->merchantName = $this->applyLength($merchantName); return $this; }
162+
{ $this->merchantName = $merchantName; return $this; }
162163

163164
/**
164165
* Set the current pix merchant city.
@@ -169,10 +170,11 @@ public function setMerchantName ( string $merchantName )
169170
* @param string $merchantCity Pix merchant city.
170171
* @since 1.0.0
171172
* @since 1.0.2 Removed character limit.
173+
* @since 1.0.3 Removed applyLength function.
172174
* @return self
173175
*/
174176
public function setMerchantCity ( string $merchantCity )
175-
{ $this->merchantCity = $this->applyLength($merchantCity); return $this; }
177+
{ $this->merchantCity = $merchantCity; return $this; }
176178

177179
/**
178180
* Set the current pix transaction id.

0 commit comments

Comments
 (0)