Skip to content
This repository has been archived by the owner on Jan 2, 2019. It is now read-only.

made dataTypeForValue (practically) overwritable #57

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

argonym
Copy link

@argonym argonym commented Oct 13, 2012

PHPExcel_Cell_DefaultValueBinder::bindValue() called dataTypeForValue() in self:: scope.
This made it impossible to overwrite dataTypeForValue() without overwrting bindValue().
Now calling dataTypeForValue() via $this.

PHPExcel_Cell_DefaultValueBinder::bindValue() called dataTypeForValue() in self:: scope.
This made it impossible to overwrite dataTypeForValue() without overwrting bindValue().
Now calling dataTypeForValue() via $this.
@Quix0r
Copy link

Quix0r commented Nov 21, 2016

dataTypeForValue() is currently (see line 75) static (no object reference). In your change you call it with $this which means with an object-reference (which is not static). I propose to either revert the change or also change dataTypeForValue() which needs feedback from other developers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants