File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Build
1+ name : Continuous Integration
22
33on :
44 push :
Original file line number Diff line number Diff line change 33[ ![ Latest Stable Version] ( http://poser.pugx.org/lm-commons/lmc-user/v )] ( https://packagist.org/packages/lm-commons/lmc-user )
44[ ![ Total Downloads] ( http://poser.pugx.org/lm-commons/lmc-user/downloads )] ( https://packagist.org/packages/lm-commons/lmc-user )
55[ ![ Build] ( https://github.com/visto9259/LmcUser/actions/workflows/build_test.yml/badge.svg )] ( https://github.com/visto9259/LmcUser/actions/workflows/build_test.yml )
6+ ![ Dynamic JSON Badge] ( https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fapi.github.com%2Frepos%2Flm-commons%2Flmcrbacmvc%2Fproperties%2Fvalues&query=%24%5B%3A1%5D.value&label=Maintenance%20Status )
67[ ![ Gitter] ( https://badges.gitter.im/LM-Commons/community.svg )] ( https://gitter.im/LM-Commons/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge )
78
89Based on ZfcUser by Evan Coury and the ZF-Commons team
Original file line number Diff line number Diff line change @@ -52,7 +52,12 @@ public function getId()
5252 */
5353 public function setId ($ id )
5454 {
55- $ this ->id = (int ) $ id ;
55+ if (is_null ($ id )) {
56+ $ this ->id = $ id ;
57+ }
58+ else {
59+ $ this ->id = (int )$ id ;
60+ }
5661 return $ this ;
5762 }
5863
You can’t perform that action at this time.
0 commit comments