Skip to content

Commit

Permalink
Fix protected
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jun 29, 2019
1 parent 93b0e45 commit 72084f4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions htdocs/core/modules/bank/doc/pdf_ban.modules.php
Expand Up @@ -287,7 +287,7 @@ public function write_file($object, $outputlangs)
* @param int $hidebottom Hide bottom bar of array
* @return void
*/
private function _tableau(&$pdf, $tab_top, $tab_height, $nexY, $outputlangs, $hidetop = 0, $hidebottom = 0)
protected function _tableau(&$pdf, $tab_top, $tab_height, $nexY, $outputlangs, $hidetop = 0, $hidebottom = 0)
{
global $conf,$mysoc;

Expand All @@ -303,7 +303,7 @@ private function _tableau(&$pdf, $tab_top, $tab_height, $nexY, $outputlangs, $hi
* @param Translate $outputlangs Object lang for output
* @return void
*/
private function _pagehead(&$pdf, $object, $showaddress, $outputlangs)
protected function _pagehead(&$pdf, $object, $showaddress, $outputlangs)
{
global $langs,$conf,$mysoc;

Expand Down Expand Up @@ -389,7 +389,7 @@ private function _pagehead(&$pdf, $object, $showaddress, $outputlangs)
* @param int $hidefreetext 1=Hide free text
* @return integer
*/
private function _pagefoot(&$pdf, $object, $outputlangs, $hidefreetext = 0)
protected function _pagefoot(&$pdf, $object, $outputlangs, $hidefreetext = 0)
{
global $conf;
$showdetails=$conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS;
Expand Down
10 changes: 5 additions & 5 deletions htdocs/core/modules/bank/doc/pdf_sepamandate.modules.php
Expand Up @@ -430,7 +430,7 @@ public function write_file($object, $outputlangs, $srctemplatepath = '', $hidede
* @param int $hidebottom Hide bottom bar of array
* @return void
*/
private function _tableau(&$pdf, $tab_top, $tab_height, $nexY, $outputlangs, $hidetop = 0, $hidebottom = 0)
protected function _tableau(&$pdf, $tab_top, $tab_height, $nexY, $outputlangs, $hidetop = 0, $hidebottom = 0)
{
global $conf,$mysoc;

Expand All @@ -448,7 +448,7 @@ private function _tableau(&$pdf, $tab_top, $tab_height, $nexY, $outputlangs, $hi
* @param Translate $outputlangs Langs object
* @return void
*/
private function _tableau_info(&$pdf, $object, $posy, $outputlangs)
protected function _tableau_info(&$pdf, $object, $posy, $outputlangs)
{
// phpcs:enable
global $conf, $mysoc;
Expand Down Expand Up @@ -485,7 +485,7 @@ private function _tableau_info(&$pdf, $object, $posy, $outputlangs)
* @param Translate $outputlangs Objet langs
* @return int Position pour suite
*/
private function _signature_area(&$pdf, $object, $posy, $outputlangs)
protected function _signature_area(&$pdf, $object, $posy, $outputlangs)
{
// phpcs:enable
$default_font_size = pdf_getPDFFontSize($outputlangs);
Expand Down Expand Up @@ -526,7 +526,7 @@ private function _signature_area(&$pdf, $object, $posy, $outputlangs)
* @param Translate $outputlangs Object lang for output
* @return void
*/
private function _pagehead(&$pdf, $object, $showaddress, $outputlangs)
protected function _pagehead(&$pdf, $object, $showaddress, $outputlangs)
{
global $langs,$conf,$mysoc;

Expand Down Expand Up @@ -618,7 +618,7 @@ private function _pagehead(&$pdf, $object, $showaddress, $outputlangs)
* @param int $hidefreetext 1=Hide free text
* @return integer
*/
private function _pagefoot(&$pdf, $object, $outputlangs, $hidefreetext = 0)
protected function _pagefoot(&$pdf, $object, $outputlangs, $hidefreetext = 0)
{
global $conf;
$showdetails=$conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS;
Expand Down

0 comments on commit 72084f4

Please sign in to comment.